home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Frank Lloyd Wright Companion
/
The Frank Lloyd Wright Companion.iso
/
fullmacapps
/
macfllwc_small.sit
/
MacFLLWC_Small
/
flw.mvb.rsrc
/
CODE_6_QH Main6.txt
< prev
next >
Wrap
Text File
|
1995-09-30
|
605KB
|
10,945 lines
# near model CODE resource
# jump table entries: 59632-59707 (76 of them)
00000000 FFFF .extension 0xFFF // unimplemented
00000002 E8F0 0000 74E6 bftst [A0 + D7.w * 4 - 0x26] {0:32}
00000008 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
0000000C 4FEF FEF4 lea.l A7, [A7 - 0x10C]
00000010 286F 0134 movea.l A4, [A7 + 0x134]
00000014 3F6D B640 0008 move.w [A7 + 0x8], [A5 - 0x49C0]
0000001A 1F6D B642 000A move.b [A7 + 0xA], [A5 - 0x49BE]
00000020 7801 moveq.l D4, 0x01
00000022 2F2D 8816 move.l -[A7], [A5 - 0x77EA]
00000026 42A7 clr.l -[A7]
00000028 4EAD E118 jsr [A5 - 0x1EE8]
0000002C 2648 movea.l A3, A0
0000002E 200B move.l D0, A3
00000030 504F addq.w A7, 8
00000032 6700 01BA beq +0x1BC /* 000001EE */
00000036 2F0B move.l -[A7], A3
00000038 4EBA 02E0 jsr [PC + 0x2E0 /* 0000031A */]
0000003C 2C00 move.l D6, D0
0000003E 302C 006C move.w D0, [A4 + 0x6C]
00000042 B06D B416 cmp.w D0, [A5 - 0x4BEA]
00000046 584F addq.w A7, 4
00000048 6610 bne +0x12 /* 0000005A */
0000004A 4227 clr.b -[A7]
0000004C 2F0C move.l -[A7], A4
0000004E 4EAD E818 jsr [A5 - 0x17E8]
00000052 2C48 movea.l A6, A0
00000054 2008 move.l D0, A0
00000056 5C4F addq.w A7, 6
00000058 662E bne +0x30 /* 00000088 */
label0000005A:
0000005A 1F3C 0003 move.b -[A7], 0x3
0000005E 2F2D 8812 move.l -[A7], [A5 - 0x77EE]
00000062 2F2D 8816 move.l -[A7], [A5 - 0x77EA]
00000066 42A7 clr.l -[A7]
00000068 4EAD E148 jsr [A5 - 0x1EB8]
0000006C 1F3C 0003 move.b -[A7], 0x3
00000070 2F2D 880E move.l -[A7], [A5 - 0x77F2]
00000074 2F2D 8816 move.l -[A7], [A5 - 0x77EA]
00000078 42A7 clr.l -[A7]
0000007A 4EAD E148 jsr [A5 - 0x1EB8]
0000007E 4FEF 0128 lea.l A7, [A7 + 0x128]
00000082 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00000086 4E75 rts
label00000088:
00000088 7000 moveq.l D0, 0x00
0000008A 102D 81A0 move.b D0, [A5 - 0x7E60]
0000008E 7202 moveq.l D1, 0x02
00000090 B081 cmp.l D0, D1
00000092 6D20 blt +0x22 /* 000000B4 */
00000094 594F subq.w A7, 4
00000096 AA2A syscall GetMainDevice
00000098 205F movea.l A0, [A7]+
0000009A 2608 move.l D3, A0
0000009C 2443 movea.l A2, D3
0000009E 2452 movea.l A2, [A2]
000000A0 45EA 0022 lea.l A2, [A2 + 0x22]
000000A4 302A 0002 move.w D0, [A2 + 0x2]
000000A8 48C0 ext.l D0
000000AA 3E2A 0006 move.w D7, [A2 + 0x6]
000000AE 48C7 ext.l D7
000000B0 9E80 sub.l D7, D0
000000B2 600E bra +0x10 /* 000000C2 */
label000000B4:
000000B4 302D 1586 move.w D0, [A5 + 0x1586]
000000B8 48C0 ext.l D0
000000BA 3E2D 158A move.w D7, [A5 + 0x158A /* export_685 */]
000000BE 48C7 ext.l D7
000000C0 9E80 sub.l D7, D0
label000000C2:
000000C2 1F3C 0002 move.b -[A7], 0x2
000000C6 2F2D 8812 move.l -[A7], [A5 - 0x77EE]
000000CA 2F2D 8816 move.l -[A7], [A5 - 0x77EA]
000000CE 42A7 clr.l -[A7]
000000D0 4EAD E148 jsr [A5 - 0x1EB8]
000000D4 1F3C 0001 move.b -[A7], 0x1
000000D8 2F0C move.l -[A7], A4
000000DA 4EAD E818 jsr [A5 - 0x17E8]
000000DE 2F50 0014 move.l [A7 + 0x14], [A0]
000000E2 2F0E move.l -[A7], A6
000000E4 4EAD D9AC jsr [A5 - 0x2654]
000000E8 201F move.l D0, [A7]+
000000EA 7214 moveq.l D1, 0x14
000000EC 4EAD D8FE jsr [A5 - 0x2702]
000000F0 2F40 0014 move.l [A7 + 0x14], D0
000000F4 2F0E move.l -[A7], A6
000000F6 4EAD DD80 jsr [A5 - 0x2280]
000000FA 2448 movea.l A2, A0
000000FC 2606 move.l D3, D6
000000FE 5283 addq.l D3, 1
00000100 7A01 moveq.l D5, 0x01
00000102 4FEF 0014 lea.l A7, [A7 + 0x14]
00000106 6000 00BA bra +0xBC /* 000001C2 */
label0000010A:
0000010A 4A84 tst.l D4
0000010C 6710 beq +0x12 /* 0000011E */
0000010E 7800 moveq.l D4, 0x00
00000110 4A86 tst.l D6
00000112 670A beq +0xC /* 0000011E */
00000114 2F0B move.l -[A7], A3
00000116 486F 000C pea.l [A7 + 0xC]
0000011A A933 syscall AppendMenu
0000011C 5243 addq.w D3, 1
label0000011E:
0000011E 2F0B move.l -[A7], A3
00000120 486F 000C pea.l [A7 + 0xC]
00000124 A933 syscall AppendMenu
00000126 2052 movea.l A0, [A2]
00000128 2F10 move.l -[A7], [A0]
0000012A 486F 0010 pea.l [A7 + 0x10]
0000012E 4EAD DDC8 jsr [A5 - 0x2238]
00000132 2F0C move.l -[A7], A4
00000134 4EAD DD40 jsr [A5 - 0x22C0]
00000138 4EAD DD60 jsr [A5 - 0x22A0]
0000013C 4267 clr.w -[A7]
0000013E A887 syscall TextFont
00000140 4267 clr.w -[A7]
00000142 A88A syscall TextSize
00000144 554F subq.w A7, 2
00000146 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
0000014A A88D syscall CharWidth
0000014C 301F move.w D0, [A7]+
0000014E C1FC 000F muls.w D0, 0xF
00000152 3207 move.w D1, D7
00000154 48C1 ext.l D1
00000156 9280 sub.l D1, D0
00000158 3F01 move.w -[A7], D1
0000015A 486F 001A pea.l [A7 + 0x1A]
0000015E 4267 clr.w -[A7]
00000160 4EAD DE20 jsr [A5 - 0x21E0]
00000164 4EAD DD68 jsr [A5 - 0x2298]
00000168 4EAD DD48 jsr [A5 - 0x22B8]
0000016C 2F0B move.l -[A7], A3
0000016E 3F03 move.w -[A7], D3
00000170 486F 001E pea.l [A7 + 0x1E]
00000174 A947 syscall SetMenuItemText/SetItem
00000176 4A2A 0012 tst.b [A2 + 0x12]
0000017A 4FEF 000C lea.l A7, [A7 + 0xC]
0000017E 670E beq +0x10 /* 0000018E */
00000180 2F0B move.l -[A7], A3
00000182 3F03 move.w -[A7], D3
00000184 102A 0012 move.b D0, [A2 + 0x12]
00000188 4880 ext.w D0
0000018A 3F00 move.w -[A7], D0
0000018C A84F syscall SetItemCmd
label0000018E:
0000018E 202A 0004 move.l D0, [A2 + 0x4]
00000192 B097 cmp.l D0, [A7]
00000194 6624 bne +0x26 /* 000001BA */
00000196 4AAD B2D8 tst.l [A5 - 0x4D28]
0000019A 6714 beq +0x16 /* 000001B0 */
0000019C 1F3C 0006 move.b -[A7], 0x6
000001A0 2F0C move.l -[A7], A4
000001A2 4EAD E818 jsr [A5 - 0x17E8]
000001A6 302A 0010 move.w D0, [A2 + 0x10]
000001AA B050 cmp.w D0, [A0]
000001AC 5C4F addq.w A7, 6
000001AE 660A bne +0xC /* 000001BA */
label000001B0:
000001B0 2F0B move.l -[A7], A3
000001B2 3F03 move.w -[A7], D3
000001B4 1F3C 0001 move.b -[A7], 0x1
000001B8 A945 syscall CheckItem
label000001BA:
000001BA 5285 addq.l D5, 1
000001BC 7014 moveq.l D0, 0x14
000001BE D5C0 add.l A2, D0
000001C0 5243 addq.w D3, 1
label000001C2:
000001C2 BAAF 0004 cmp.l D5, [A7 + 0x4]
000001C6 6F00 FF42 ble -0xBC /* 0000010A */
000001CA 2F0E move.l -[A7], A6
000001CC 4EAD DD88 jsr [A5 - 0x2278]
000001D0 4A84 tst.l D4
000001D2 6604 bne +0x6 /* 000001D8 */
000001D4 7002 moveq.l D0, 0x02
000001D6 6002 bra +0x4 /* 000001DA */
label000001D8:
000001D8 7003 moveq.l D0, 0x03
label000001DA:
000001DA 1F00 move.b -[A7], D0
000001DC 2F2D 880E move.l -[A7], [A5 - 0x77F2]
000001E0 2F2D 8816 move.l -[A7], [A5 - 0x77EA]
000001E4 42A7 clr.l -[A7]
000001E6 4EAD E148 jsr [A5 - 0x1EB8]
000001EA 4FEF 0012 lea.l A7, [A7 + 0x12]
label000001EE:
000001EE 4FEF 010C lea.l A7, [A7 + 0x10C]
000001F2 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
000001F6 4E75 rts
000001F8 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
000001FC 246F 0018 movea.l A2, [A7 + 0x18]
00000200 382F 001C move.w D4, [A7 + 0x1C]
00000204 2F2D 8816 move.l -[A7], [A5 - 0x77EA]
00000208 42A7 clr.l -[A7]
0000020A 4EAD E120 jsr [A5 - 0x1EE0]
0000020E 48C0 ext.l D0
00000210 2600 move.l D3, D0
00000212 4A83 tst.l D3
00000214 504F addq.w A7, 8
00000216 6702 beq +0x4 /* 0000021A */
00000218 5283 addq.l D3, 1
label0000021A:
0000021A 302A 006C move.w D0, [A2 + 0x6C]
0000021E B06D B416 cmp.w D0, [A5 - 0x4BEA]
00000222 6610 bne +0x12 /* 00000234 */
00000224 4227 clr.b -[A7]
00000226 2F0A move.l -[A7], A2
00000228 4EAD E818 jsr [A5 - 0x17E8]
0000022C 2648 movea.l A3, A0
0000022E 2008 move.l D0, A0
00000230 5C4F addq.w A7, 6
00000232 6606 bne +0x8 /* 0000023A */
label00000234:
00000234 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00000238 4E75 rts
label0000023A:
0000023A 4A83 tst.l D3
0000023C 6774 beq +0x76 /* 000002B2 */
0000023E 3004 move.w D0, D4
00000240 48C0 ext.l D0
00000242 B083 cmp.l D0, D3
00000244 6F6C ble +0x6E /* 000002B2 */
00000246 3004 move.w D0, D4
00000248 48C0 ext.l D0
0000024A 9083 sub.l D0, D3
0000024C 5380 subq.l D0, 1
0000024E 7214 moveq.l D1, 0x14
00000250 4EAD D8F8 jsr [A5 - 0x2708]
00000254 2053 movea.l A0, [A3]
00000256 D1C0 add.l A0, D0
00000258 2848 movea.l A4, A0
0000025A 4AAD B2D8 tst.l [A5 - 0x4D28]
0000025E 6734 beq +0x36 /* 00000294 */
00000260 1F3C 0006 move.b -[A7], 0x6
00000264 2F0A move.l -[A7], A2
00000266 4EAD E818 jsr [A5 - 0x17E8]
0000026A 302C 0010 move.w D0, [A4 + 0x10]
0000026E B050 cmp.w D0, [A0]
00000270 5C4F addq.w A7, 6
00000272 6720 beq +0x22 /* 00000294 */
00000274 42A7 clr.l -[A7]
00000276 3F2C 000E move.w -[A7], [A4 + 0xE]
0000027A 3F2C 000C move.w -[A7], [A4 + 0xC]
0000027E 42A7 clr.l -[A7]
00000280 2F2C 0004 move.l -[A7], [A4 + 0x4]
00000284 3F2C 0010 move.w -[A7], [A4 + 0x10]
00000288 2F0A move.l -[A7], A2
0000028A 4EAD FF20 jsr [A5 - 0xE0]
0000028E 4FEF 0016 lea.l A7, [A7 + 0x16]
00000292 605A bra +0x5C /* 000002EE */
label00000294:
00000294 42A7 clr.l -[A7]
00000296 3F2C 000E move.w -[A7], [A4 + 0xE]
0000029A 3F2C 000C move.w -[A7], [A4 + 0xC]
0000029E 4878 FFFF push.l 0xFFFF
000002A2 2F2C 0004 move.l -[A7], [A4 + 0x4]
000002A6 2F0A move.l -[A7], A2
000002A8 4EBA 22CC jsr [PC + 0x22CC /* 00002576 */]
000002AC 4FEF 0014 lea.l A7, [A7 + 0x14]
000002B0 603C bra +0x3E /* 000002EE */
label000002B2:
000002B2 3004 move.w D0, D4
000002B4 48C0 ext.l D0
000002B6 5380 subq.l D0, 1
000002B8 672A beq +0x2C /* 000002E4 */
000002BA 5380 subq.l D0, 1
000002BC 6702 beq +0x4 /* 000002C0 */
000002BE 602E bra +0x30 /* 000002EE */
label000002C0:
000002C0 200B move.l D0, A3
000002C2 672A beq +0x2C /* 000002EE */
000002C4 2F0B move.l -[A7], A3
000002C6 2F0A move.l -[A7], A2
000002C8 4EAD DEA8 jsr [A5 - 0x2158]
000002CC 2848 movea.l A4, A0
000002CE 2008 move.l D0, A0
000002D0 504F addq.w A7, 8
000002D2 671A beq +0x1C /* 000002EE */
000002D4 2F0C move.l -[A7], A4
000002D6 4227 clr.b -[A7]
000002D8 2F0A move.l -[A7], A2
000002DA 4EAD E820 jsr [A5 - 0x17E0]
000002DE 4FEF 000A lea.l A7, [A7 + 0xA]
000002E2 600A bra +0xC /* 000002EE */
label000002E4:
000002E4 2F0B move.l -[A7], A3
000002E6 2F0A move.l -[A7], A2
000002E8 4EBA 0070 jsr [PC + 0x70 /* 0000035A */]
000002EC 504F addq.w A7, 8
label000002EE:
000002EE 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
000002F2 4E75 rts
000002F4 2F0A move.l -[A7], A2
000002F6 246F 0008 movea.l A2, [A7 + 0x8]
000002FA 200A move.l D0, A2
000002FC 6718 beq +0x1A /* 00000316 */
000002FE 42A7 clr.l -[A7]
00000300 3F3C 0001 move.w -[A7], 0x1
00000304 4878 0014 push.l 0x14
00000308 2F0A move.l -[A7], A2
0000030A 4EAD DE18 jsr [A5 - 0x21E8]
0000030E 204A movea.l A0, A2
00000310 A023 syscall DisposHandle/DisposeHandle
00000312 4FEF 000E lea.l A7, [A7 + 0xE]
label00000316:
00000316 245F movea.l A2, [A7]+
00000318 4E75 rts
fn0000031A:
0000031A 48E7 1820 movem.l -[A7], D3,D4,A2
0000031E 246F 0010 movea.l A2, [A7 + 0x10]
00000322 2F2D 8816 move.l -[A7], [A5 - 0x77EA]
00000326 42A7 clr.l -[A7]
00000328 4EAD E120 jsr [A5 - 0x1EE0]
0000032C 48C0 ext.l D0
0000032E 2600 move.l D3, D0
00000330 2F0A move.l -[A7], A2
00000332 A950 syscall CountMItems
00000334 301F move.w D0, [A7]+
00000336 48C0 ext.l D0
00000338 9083 sub.l D0, D3
0000033A 2800 move.l D4, D0
0000033C 5C4F addq.w A7, 6
0000033E 600A bra +0xC /* 0000034A */
label00000340:
00000340 2F0A move.l -[A7], A2
00000342 2003 move.l D0, D3
00000344 5280 addq.l D0, 1
00000346 3F00 move.w -[A7], D0
00000348 A952 syscall DeleteMenuItem/DelMenuItem
label0000034A:
0000034A 2004 move.l D0, D4
0000034C 5384 subq.l D4, 1
0000034E 4A80 tst.l D0
00000350 66EE bne -0x10 /* 00000340 */
00000352 2003 move.l D0, D3
00000354 4CDF 0418 movem.l D3,D4,A2, [A7]+
00000358 4E75 rts
fn0000035A:
0000035A 48E7 1C3A movem.l -[A7], D3,D4,D5,A2,A3,A4,A6
0000035E 4FEF FDF2 lea.l A7, [A7 - 0x20E]
00000362 266F 022E movea.l A3, [A7 + 0x22E]
00000366 2C6F 0232 movea.l A6, [A7 + 0x232]
0000036A 1F3C 0001 move.b -[A7], 0x1
0000036E 2F0B move.l -[A7], A3
00000370 4EAD E818 jsr [A5 - 0x17E8]
00000374 2610 move.l D3, [A0]
00000376 7A00 moveq.l D5, 0x00
00000378 1F3C 0006 move.b -[A7], 0x6
0000037C 2F0B move.l -[A7], A3
0000037E 4EAD E818 jsr [A5 - 0x17E8]
00000382 3810 move.w D4, [A0]
00000384 4878 0100 push.l 0x100
00000388 486F 001E pea.l [A7 + 0x1E]
0000038C 2F03 move.l -[A7], D3
0000038E 3F04 move.w -[A7], D4
00000390 4EAD E1B0 jsr [A5 - 0x1E50]
00000394 486F 001B pea.l [A7 + 0x1B]
00000398 4878 0100 push.l 0x100
0000039C 486F 0130 pea.l [A7 + 0x130]
000003A0 2F0E move.l -[A7], A6
000003A2 486F 0038 pea.l [A7 + 0x38]
000003A6 2F0B move.l -[A7], A3
000003A8 4EAD DEA0 jsr [A5 - 0x2160]
000003AC 4A40 tst.w D0
000003AE 4FEF 0032 lea.l A7, [A7 + 0x32]
000003B2 6700 00D0 beq +0xD2 /* 00000484 */
000003B6 41EF 010E lea.l A0, [A7 + 0x10E]
000003BA 70FF moveq.l D0, 0xFFFFFFFF
label000003BC:
000003BC 5280 addq.l D0, 1
000003BE 4A18 tst.b [A0]+
000003C0 66FA bne -0x4 /* 000003BC */
000003C2 5280 addq.l D0, 1
000003C4 2800 move.l D4, D0
000003C6 A122 syscall NewHandle, flags=1
000003C8 2848 movea.l A4, A0
000003CA 2008 move.l D0, A0
000003CC 661C bne +0x1E /* 000003EA */
000003CE 554F subq.w A7, 2
000003D0 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
000003D4 301F move.w D0, [A7]+
000003D6 3F00 move.w -[A7], D0
000003D8 3F3C 0002 move.w -[A7], 0x2
000003DC 4EAD DE98 jsr [A5 - 0x2168]
000003E0 4FEF 0212 lea.l A7, [A7 + 0x212]
000003E4 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
000003E8 4E75 rts
label000003EA:
000003EA 41EF 010E lea.l A0, [A7 + 0x10E]
000003EE 2254 movea.l A1, [A4]
000003F0 2004 move.l D0, D4
000003F2 A02E syscall BlockMove/BlockMoveData
000003F4 594F subq.w A7, 4
000003F6 2F0E move.l -[A7], A6
000003F8 4EAD D9AC jsr [A5 - 0x2654]
000003FC 201F move.l D0, [A7]+
000003FE 2800 move.l D4, D0
00000400 7214 moveq.l D1, 0x14
00000402 D081 add.l D0, D1
00000404 204E movea.l A0, A6
00000406 A024 syscall SetHandleSize
00000408 554F subq.w A7, 2
0000040A 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
0000040E 301F move.w D0, [A7]+
00000410 3A00 move.w D5, D0
00000412 6720 beq +0x22 /* 00000434 */
00000414 204C movea.l A0, A4
00000416 A023 syscall DisposHandle/DisposeHandle
00000418 554F subq.w A7, 2
0000041A 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
0000041E 301F move.w D0, [A7]+
00000420 3F00 move.w -[A7], D0
00000422 3F3C 0002 move.w -[A7], 0x2
00000426 4EAD DE98 jsr [A5 - 0x2168]
0000042A 4FEF 0212 lea.l A7, [A7 + 0x212]
0000042E 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
00000432 4E75 rts
label00000434:
00000434 486F 000A pea.l [A7 + 0xA]
00000438 486F 0006 pea.l [A7 + 0x6]
0000043C 486F 000E pea.l [A7 + 0xE]
00000440 4227 clr.b -[A7]
00000442 2F0B move.l -[A7], A3
00000444 4EBA 1C0A jsr [PC + 0x1C0A /* 00002050 */]
00000448 2456 movea.l A2, [A6]
0000044A D5C4 add.l A2, D4
0000044C 248C move.l [A2], A4
0000044E 2543 0004 move.l [A2 + 0x4], D3
00000452 356F 001A 000C move.w [A2 + 0xC], [A7 + 0x1A]
00000458 356F 0016 000E move.w [A2 + 0xE], [A7 + 0x16]
0000045E 256F 001C 0008 move.l [A2 + 0x8], [A7 + 0x1C]
00000464 4AAD B2D8 tst.l [A5 - 0x4D28]
00000468 4FEF 0012 lea.l A7, [A7 + 0x12]
0000046C 6710 beq +0x12 /* 0000047E */
0000046E 1F3C 0006 move.b -[A7], 0x6
00000472 2F0B move.l -[A7], A3
00000474 4EAD E818 jsr [A5 - 0x17E8]
00000478 3550 0010 move.w [A2 + 0x10], [A0]
0000047C 5C4F addq.w A7, 6
label0000047E:
0000047E 156F 0001 0012 move.b [A2 + 0x12], [A7 + 0x1]
label00000484:
00000484 4FEF 020E lea.l A7, [A7 + 0x20E]
00000488 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
0000048C 4E75 rts
fn0000048E:
0000048E 48E7 1830 movem.l -[A7], D3,D4,A2,A3
00000492 266F 0018 movea.l A3, [A7 + 0x18]
00000496 182F 0020 move.b D4, [A7 + 0x20]
0000049A 7000 moveq.l D0, 0x00
0000049C 1004 move.b D0, D4
0000049E 670E beq +0x10 /* 000004AE */
000004A0 5380 subq.l D0, 1
000004A2 6718 beq +0x1A /* 000004BC */
000004A4 5380 subq.l D0, 1
000004A6 6722 beq +0x24 /* 000004CA */
000004A8 5380 subq.l D0, 1
000004AA 672C beq +0x2E /* 000004D8 */
000004AC 4E71 nop
label000004AE:
000004AE 362D 135E move.w D3, [A5 + 0x135E]
000004B2 48C3 ext.l D3
000004B4 0683 0000 0080 addi.l D3, 0x80
000004BA 6028 bra +0x2A /* 000004E4 */
label000004BC:
000004BC 362D 135E move.w D3, [A5 + 0x135E]
000004C0 48C3 ext.l D3
000004C2 0683 0000 008E addi.l D3, 0x8E
000004C8 601A bra +0x1C /* 000004E4 */
label000004CA:
000004CA 362D 135E move.w D3, [A5 + 0x135E]
000004CE 48C3 ext.l D3
000004D0 0683 0000 008D addi.l D3, 0x8D
000004D6 600C bra +0xE /* 000004E4 */
label000004D8:
000004D8 362D 135E move.w D3, [A5 + 0x135E]
000004DC 48C3 ext.l D3
000004DE 0683 0000 008F addi.l D3, 0x8F
label000004E4:
000004E4 594F subq.w A7, 4
000004E6 3F03 move.w -[A7], D3
000004E8 2F2F 001A move.l -[A7], [A7 + 0x1A]
000004EC A9BE syscall GetNewControl
000004EE 205F movea.l A0, [A7]+
000004F0 2448 movea.l A2, A0
000004F2 200A move.l D0, A2
000004F4 6770 beq +0x72 /* 00000566 */
000004F6 0C04 0001 cmpi.b D4, 0x1
000004FA 6706 beq +0x8 /* 00000502 */
000004FC 0C04 0002 cmpi.b D4, 0x2
00000500 6630 bne +0x32 /* 00000532 */
label00000502:
00000502 2F0A move.l -[A7], A2
00000504 554F subq.w A7, 2
00000506 2F0A move.l -[A7], A2
00000508 A962 syscall GetControlMaximum/GetMaxCtl
0000050A 301F move.w D0, [A7]+
0000050C 48C0 ext.l D0
0000050E 322D 135E move.w D1, [A5 + 0x135E]
00000512 48C1 ext.l D1
00000514 D280 add.l D1, D0
00000516 3F01 move.w -[A7], D1
00000518 A965 syscall SetControlMaximum/SetMaxCtl
0000051A 2F0A move.l -[A7], A2
0000051C 554F subq.w A7, 2
0000051E 2F0A move.l -[A7], A2
00000520 A961 syscall GetControlMinimum/GetMinCtl
00000522 301F move.w D0, [A7]+
00000524 48C0 ext.l D0
00000526 322D 135E move.w D1, [A5 + 0x135E]
0000052A 48C1 ext.l D1
0000052C D280 add.l D1, D0
0000052E 3F01 move.w -[A7], D1
00000530 A964 syscall SetControlMinimum/SetMinCtl
label00000532:
00000532 2F0A move.l -[A7], A2
00000534 302B 0002 move.w D0, [A3 + 0x2]
00000538 48C0 ext.l D0
0000053A 322B 0006 move.w D1, [A3 + 0x6]
0000053E 48C1 ext.l D1
00000540 9280 sub.l D1, D0
00000542 3F01 move.w -[A7], D1
00000544 3013 move.w D0, [A3]
00000546 48C0 ext.l D0
00000548 322B 0004 move.w D1, [A3 + 0x4]
0000054C 48C1 ext.l D1
0000054E 9280 sub.l D1, D0
00000550 3F01 move.w -[A7], D1
00000552 A95C syscall SizeControl
00000554 2F0A move.l -[A7], A2
00000556 3F2B 0002 move.w -[A7], [A3 + 0x2]
0000055A 3F13 move.w -[A7], [A3]
0000055C A959 syscall MoveControl
0000055E 2F0A move.l -[A7], A2
00000560 2F2F 0020 move.l -[A7], [A7 + 0x20]
00000564 A95F syscall SetControlTitle/SetCTitle
label00000566:
00000566 204A movea.l A0, A2
00000568 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
0000056C 4E75 rts
0000056E 2F0A move.l -[A7], A2
00000570 514F subq.w A7, 8
00000572 246F 0010 movea.l A2, [A7 + 0x10]
00000576 2052 movea.l A0, [A2]
00000578 2EA8 0008 move.l [A7], [A0 + 0x8]
0000057C 2F68 000C 0004 move.l [A7 + 0x4], [A0 + 0xC]
00000582 4AAF 0018 tst.l [A7 + 0x18]
00000586 6712 beq +0x14 /* 0000059A */
00000588 2052 movea.l A0, [A2]
0000058A 2F28 0004 move.l -[A7], [A0 + 0x4]
0000058E 4EAD DD40 jsr [A5 - 0x22C0]
00000592 486F 0004 pea.l [A7 + 0x4]
00000596 A928 syscall InvalRect
00000598 584F addq.w A7, 4
label0000059A:
0000059A 2052 movea.l A0, [A2]
0000059C 4868 0008 pea.l [A0 + 0x8]
000005A0 302F 0006 move.w D0, [A7 + 0x6]
000005A4 48C0 ext.l D0
000005A6 322F 0018 move.w D1, [A7 + 0x18]
000005AA 48C1 ext.l D1
000005AC 9280 sub.l D1, D0
000005AE 3F01 move.w -[A7], D1
000005B0 302F 0006 move.w D0, [A7 + 0x6]
000005B4 48C0 ext.l D0
000005B6 322F 001C move.w D1, [A7 + 0x1C]
000005BA 48C1 ext.l D1
000005BC 9280 sub.l D1, D0
000005BE 3F01 move.w -[A7], D1
000005C0 A8A8 syscall OffsetRect
000005C2 4AAF 0018 tst.l [A7 + 0x18]
000005C6 6714 beq +0x16 /* 000005DC */
000005C8 2052 movea.l A0, [A2]
000005CA 2EA8 0008 move.l [A7], [A0 + 0x8]
000005CE 2F68 000C 0004 move.l [A7 + 0x4], [A0 + 0xC]
000005D4 4857 pea.l [A7]
000005D6 A928 syscall InvalRect
000005D8 4EAD DD48 jsr [A5 - 0x22B8]
label000005DC:
000005DC 504F addq.w A7, 8
000005DE 245F movea.l A2, [A7]+
000005E0 4E75 rts
000005E2 2F0A move.l -[A7], A2
000005E4 514F subq.w A7, 8
000005E6 206F 0010 movea.l A0, [A7 + 0x10]
000005EA 2450 movea.l A2, [A0]
000005EC 7000 moveq.l D0, 0x00
000005EE 102A 0011 move.b D0, [A2 + 0x11]
000005F2 322F 0014 move.w D1, [A7 + 0x14]
000005F6 48C1 ext.l D1
000005F8 B280 cmp.l D1, D0
000005FA 6724 beq +0x26 /* 00000620 */
000005FC 156F 0015 0011 move.b [A2 + 0x11], [A7 + 0x15]
00000602 2EAA 0008 move.l [A7], [A2 + 0x8]
00000606 2F6A 000C 0004 move.l [A7 + 0x4], [A2 + 0xC]
0000060C 2F2A 0004 move.l -[A7], [A2 + 0x4]
00000610 4EAD DD40 jsr [A5 - 0x22C0]
00000614 486F 0004 pea.l [A7 + 0x4]
00000618 A928 syscall InvalRect
0000061A 4EAD DD48 jsr [A5 - 0x22B8]
0000061E 584F addq.w A7, 4
label00000620:
00000620 504F addq.w A7, 8
00000622 245F movea.l A2, [A7]+
00000624 4E75 rts
fn00000626:
00000626 48E7 1820 movem.l -[A7], D3,D4,A2
0000062A 514F subq.w A7, 8
0000062C 282F 001C move.l D4, [A7 + 0x1C]
00000630 206F 0018 movea.l A0, [A7 + 0x18]
00000634 2450 movea.l A2, [A0]
00000636 4A2A 0010 tst.b [A2 + 0x10]
0000063A 56C0 sne D0
0000063C 4400 neg.b D0
0000063E 4880 ext.w D0
00000640 48C0 ext.l D0
00000642 2600 move.l D3, D0
00000644 B684 cmp.l D3, D4
00000646 6730 beq +0x32 /* 00000678 */
00000648 4A84 tst.l D4
0000064A 6604 bne +0x6 /* 00000650 */
0000064C 7000 moveq.l D0, 0x00
0000064E 6006 bra +0x8 /* 00000656 */
label00000650:
00000650 203C 0000 00FF move.l D0, 0xFF
label00000656:
00000656 1540 0010 move.b [A2 + 0x10], D0
0000065A 2EAA 0008 move.l [A7], [A2 + 0x8]
0000065E 2F6A 000C 0004 move.l [A7 + 0x4], [A2 + 0xC]
00000664 2F2A 0004 move.l -[A7], [A2 + 0x4]
00000668 4EAD DD40 jsr [A5 - 0x22C0]
0000066C 486F 0004 pea.l [A7 + 0x4]
00000670 A928 syscall InvalRect
00000672 4EAD DD48 jsr [A5 - 0x22B8]
00000676 584F addq.w A7, 4
label00000678:
00000678 504F addq.w A7, 8
0000067A 4CDF 0418 movem.l D3,D4,A2, [A7]+
0000067E 4E75 rts
00000680 6024 bra +0x26 /* 000006A6 */
label00000682:
00000682 206D 8D26 movea.l A0, [A5 - 0x72DA]
00000686 4A90 tst.l [A0]
00000688 6612 bne +0x14 /* 0000069C */
0000068A 206D 8D26 movea.l A0, [A5 - 0x72DA]
0000068E 7000 moveq.l D0, 0x00
00000690 A027 syscall ReallocateHandle
00000692 554F subq.w A7, 2
00000694 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00000698 301F move.w D0, [A7]+
0000069A 6610 bne +0x12 /* 000006AC */
label0000069C:
0000069C 206D 8D26 movea.l A0, [A5 - 0x72DA]
000006A0 A023 syscall DisposHandle/DisposeHandle
000006A2 42AD 8D26 clr.l [A5 - 0x72DA]
label000006A6:
000006A6 4AAD 8D26 tst.l [A5 - 0x72DA]
000006AA 66D6 bne -0x28 /* 00000682 */
label000006AC:
000006AC 4E75 rts
000006AE 48E7 1F30 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3
000006B2 4FEF FFF4 lea.l A7, [A7 - 0xC]
000006B6 266F 002C movea.l A3, [A7 + 0x2C]
000006BA 2F6F 0030 0002 move.l [A7 + 0x2], [A7 + 0x30]
000006C0 3F7C 0F00 000A move.w [A7 + 0xA], 0xF00
000006C6 7600 moveq.l D3, 0x00
000006C8 7E00 moveq.l D7, 0x00
000006CA 4EBA 0154 jsr [PC + 0x154 /* 00000820 */]
000006CE 3800 move.w D4, D0
000006D0 670C beq +0xE /* 000006DE */
000006D2 3004 move.w D0, D4
000006D4 4FEF 000C lea.l A7, [A7 + 0xC]
000006D8 4CDF 0CF8 movem.l D3,D4,D5,D6,D7,A2,A3, [A7]+
000006DC 4E75 rts
label000006DE:
000006DE 4EBA 0196 jsr [PC + 0x196 /* 00000876 */]
000006E2 486F 0034 pea.l [A7 + 0x34]
000006E6 486F 0006 pea.l [A7 + 0x6]
000006EA 4EBA 02D0 jsr [PC + 0x2D0 /* 000009BC */]
000006EE 3C00 move.w D6, D0
000006F0 3800 move.w D4, D0
000006F2 7000 moveq.l D0, 0x00
000006F4 3004 move.w D0, D4
000006F6 0C80 0000 FFFF cmpi.l D0, 0xFFFF
000006FC 504F addq.w A7, 8
000006FE 6610 bne +0x12 /* 00000710 */
00000700 4EBA 0158 jsr [PC + 0x158 /* 0000085A */]
00000704 7000 moveq.l D0, 0x00
00000706 4FEF 000C lea.l A7, [A7 + 0xC]
0000070A 4CDF 0CF8 movem.l D3,D4,D5,D6,D7,A2,A3, [A7]+
0000070E 4E75 rts
label00000710:
00000710 7000 moveq.l D0, 0x00
00000712 3004 move.w D0, D4
00000714 E788 lsl D0, 3
00000716 206D 8D2A movea.l A0, [A5 - 0x72D6]
0000071A 1F70 0806 0001 move.b [A7 + 0x1], [A0 + D0 + 0x6]
00000720 1A2F 0001 move.b D5, [A7 + 0x1]
00000724 16C5 move.b [A3]+, D5
00000726 6000 00E0 bra +0xE2 /* 00000808 */
label0000072A:
0000072A 486F 0034 pea.l [A7 + 0x34]
0000072E 486F 0006 pea.l [A7 + 0x6]
00000732 4EBA 0288 jsr [PC + 0x288 /* 000009BC */]
00000736 3F40 0010 move.w [A7 + 0x10], D0
0000073A 3800 move.w D4, D0
0000073C 7000 moveq.l D0, 0x00
0000073E 3004 move.w D0, D4
00000740 0C80 0000 FFFF cmpi.l D0, 0xFFFF
00000746 504F addq.w A7, 8
00000748 6700 00C6 beq +0xC8 /* 00000810 */
0000074C 7000 moveq.l D0, 0x00
0000074E 3004 move.w D0, D4
00000750 E788 lsl D0, 3
00000752 246D 8D2A movea.l A2, [A5 - 0x72D6]
00000756 D5C0 add.l A2, D0
00000758 4A12 tst.b [A2]
0000075A 6654 bne +0x56 /* 000007B0 */
0000075C 1F45 0007 move.b [A7 + 0x7], D5
00000760 3806 move.w D4, D6
00000762 7E01 moveq.l D7, 0x01
00000764 7000 moveq.l D0, 0x00
00000766 3004 move.w D0, D4
00000768 E788 lsl D0, 3
0000076A 246D 8D2A movea.l A2, [A5 - 0x72D6]
0000076E D5C0 add.l A2, D0
00000770 603E bra +0x40 /* 000007B0 */
label00000772:
00000772 3003 move.w D0, D3
00000774 5243 addq.w D3, 1
00000776 7200 moveq.l D1, 0x00
00000778 3200 move.w D1, D0
0000077A 41ED 8D2E lea.l A0, [A5 - 0x72D2]
0000077E 11AA 0006 1800 move.b [A0 + D1], [A2 + 0x6]
00000784 7000 moveq.l D0, 0x00
00000786 3003 move.w D0, D3
00000788 0C80 0000 1000 cmpi.l D0, 0x1000
0000078E 6D10 blt +0x12 /* 000007A0 */
00000790 4EBA 00C8 jsr [PC + 0xC8 /* 0000085A */]
00000794 7000 moveq.l D0, 0x00
00000796 4FEF 000C lea.l A7, [A7 + 0xC]
0000079A 4CDF 0CF8 movem.l D3,D4,D5,D6,D7,A2,A3, [A7]+
0000079E 4E75 rts
label000007A0:
000007A0 382A 0004 move.w D4, [A2 + 0x4]
000007A4 7000 moveq.l D0, 0x00
000007A6 3004 move.w D0, D4
000007A8 E788 lsl D0, 3
000007AA 246D 8D2A movea.l A2, [A5 - 0x72D6]
000007AE D5C0 add.l A2, D0
label000007B0:
000007B0 7000 moveq.l D0, 0x00
000007B2 302A 0004 move.w D0, [A2 + 0x4]
000007B6 0C80 0000 FFFF cmpi.l D0, 0xFFFF
000007BC 66B4 bne -0x4A /* 00000772 */
000007BE 1A2A 0006 move.b D5, [A2 + 0x6]
000007C2 16C5 move.b [A3]+, D5
000007C4 600E bra +0x10 /* 000007D4 */
label000007C6:
000007C6 5343 subq.w D3, 1
000007C8 7000 moveq.l D0, 0x00
000007CA 3003 move.w D0, D3
000007CC 41ED 8D2E lea.l A0, [A5 - 0x72D2]
000007D0 16F0 0800 move.b [A3]+, [A0 + D0]
label000007D4:
000007D4 7000 moveq.l D0, 0x00
000007D6 3003 move.w D0, D3
000007D8 4A80 tst.l D0
000007DA 6EEA bgt -0x14 /* 000007C6 */
000007DC 4A07 tst.b D7
000007DE 6708 beq +0xA /* 000007E8 */
000007E0 1A2F 0007 move.b D5, [A7 + 0x7]
000007E4 16C5 move.b [A3]+, D5
000007E6 7E00 moveq.l D7, 0x00
label000007E8:
000007E8 7000 moveq.l D0, 0x00
000007EA 302F 000A move.w D0, [A7 + 0xA]
000007EE 4A80 tst.l D0
000007F0 6F12 ble +0x14 /* 00000804 */
000007F2 7000 moveq.l D0, 0x00
000007F4 1005 move.b D0, D5
000007F6 3F00 move.w -[A7], D0
000007F8 3F06 move.w -[A7], D6
000007FA 4EBA 00B2 jsr [PC + 0xB2 /* 000008AE */]
000007FE 536F 000E subq.w [A7 + 0xE], 1
00000802 584F addq.w A7, 4
label00000804:
00000804 3C2F 0008 move.w D6, [A7 + 0x8]
label00000808:
00000808 4AAF 0034 tst.l [A7 + 0x34]
0000080C 6E00 FF1C bgt -0xE2 /* 0000072A */
label00000810:
00000810 4EBA 0048 jsr [PC + 0x48 /* 0000085A */]
00000814 7000 moveq.l D0, 0x00
00000816 4FEF 000C lea.l A7, [A7 + 0xC]
0000081A 4CDF 0CF8 movem.l D3,D4,D5,D6,D7,A2,A3, [A7]+
0000081E 4E75 rts
fn00000820:
00000820 554F subq.w A7, 2
00000822 3B7C F000 B646 move.w [A5 - 0x49BA], 0xF000
00000828 3B7C F000 B644 move.w [A5 - 0x49BC], 0xF000
0000082E 4AAD 8D26 tst.l [A5 - 0x72DA]
00000832 6620 bne +0x22 /* 00000854 */
00000834 4857 pea.l [A7]
00000836 2F3C 0000 8000 move.l -[A7], 0x8000
0000083C 4EAD DE60 jsr [A5 - 0x21A0]
00000840 2B48 8D26 move.l [A5 - 0x72DA], A0
00000844 206D 8D26 movea.l A0, [A5 - 0x72DA]
00000848 A029 syscall HLock
0000084A 206D 8D26 movea.l A0, [A5 - 0x72DA]
0000084E 2B50 8D2A move.l [A5 - 0x72D6], [A0]
00000852 504F addq.w A7, 8
label00000854:
00000854 7000 moveq.l D0, 0x00
00000856 544F addq.w A7, 2
00000858 4E75 rts
fn0000085A:
0000085A 4AAD 8D22 tst.l [A5 - 0x72DE]
0000085E 6614 bne +0x16 /* 00000874 */
00000860 4AAD 8D26 tst.l [A5 - 0x72DA]
00000864 670A beq +0xC /* 00000870 */
00000866 206D 8D26 movea.l A0, [A5 - 0x72DA]
0000086A A023 syscall DisposHandle/DisposeHandle
0000086C 42AD 8D26 clr.l [A5 - 0x72DA]
label00000870:
00000870 42AD 8D2A clr.l [A5 - 0x72D6]
label00000874:
00000874 4E75 rts
fn00000876:
00000876 2F03 move.l -[A7], D3
00000878 2F3C 0000 8000 move.l -[A7], 0x8000
0000087E 42A7 clr.l -[A7]
00000880 2F2D 8D2A move.l -[A7], [A5 - 0x72D6]
00000884 4EAD D94C jsr [A5 - 0x26B4]
00000888 7600 moveq.l D3, 0x00
0000088A 4FEF 000C lea.l A7, [A7 + 0xC]
0000088E 600E bra +0x10 /* 0000089E */
label00000890:
00000890 3F03 move.w -[A7], D3
00000892 3F3C FFFF move.w -[A7], 0xFFFF
00000896 4EBA 0016 jsr [PC + 0x16 /* 000008AE */]
0000089A 5243 addq.w D3, 1
0000089C 584F addq.w A7, 4
label0000089E:
0000089E 7000 moveq.l D0, 0x00
000008A0 3003 move.w D0, D3
000008A2 0C80 0000 00FF cmpi.l D0, 0xFF
000008A8 6FE6 ble -0x18 /* 00000890 */
000008AA 261F move.l D3, [A7]+
000008AC 4E75 rts
fn000008AE:
000008AE 48E7 1C20 movem.l -[A7], D3,D4,D5,A2
000008B2 3A2F 0014 move.w D5, [A7 + 0x14]
000008B6 382F 0016 move.w D4, [A7 + 0x16]
000008BA 1F3C 0001 move.b -[A7], 0x1
000008BE 1F04 move.b -[A7], D4
000008C0 3F05 move.w -[A7], D5
000008C2 4EBA 0028 jsr [PC + 0x28 /* 000008EC */]
000008C6 3600 move.w D3, D0
000008C8 7000 moveq.l D0, 0x00
000008CA 3003 move.w D0, D3
000008CC E788 lsl D0, 3
000008CE 246D 8D2A movea.l A2, [A5 - 0x72D6]
000008D2 D5C0 add.l A2, D0
000008D4 14BC 0001 move.b [A2], 0x1
000008D8 426A 0002 clr.w [A2 + 0x2]
000008DC 3545 0004 move.w [A2 + 0x4], D5
000008E0 1544 0006 move.b [A2 + 0x6], D4
000008E4 5C4F addq.w A7, 6
000008E6 4CDF 0438 movem.l D3,D4,D5,A2, [A7]+
000008EA 4E75 rts
fn000008EC:
000008EC 48E7 1820 movem.l -[A7], D3,D4,A2
000008F0 1F2F 0012 move.b -[A7], [A7 + 0x12]
000008F4 3F2F 0012 move.w -[A7], [A7 + 0x12]
000008F8 4EBA 0092 jsr [PC + 0x92 /* 0000098C */]
000008FC 3800 move.w D4, D0
000008FE 7000 moveq.l D0, 0x00
00000900 3004 move.w D0, D4
00000902 E788 lsl D0, 3
00000904 206D 8D2A movea.l A0, [A5 - 0x72D6]
00000908 4A30 0800 tst.b [A0 + D0]
0000090C 584F addq.w A7, 4
0000090E 6608 bne +0xA /* 00000918 */
00000910 3004 move.w D0, D4
00000912 4CDF 0418 movem.l D3,D4,A2, [A7]+
00000916 4E75 rts
label00000918:
00000918 3F04 move.w -[A7], D4
0000091A 4EBA 0054 jsr [PC + 0x54 /* 00000970 */]
0000091E 3800 move.w D4, D0
00000920 7600 moveq.l D3, 0x00
00000922 3604 move.w D3, D4
00000924 7265 moveq.l D1, 0x65
00000926 D681 add.l D3, D1
00000928 0283 0000 0FFF andi.l D3, 0xFFF
0000092E 7000 moveq.l D0, 0x00
00000930 3003 move.w D0, D3
00000932 E788 lsl D0, 3
00000934 246D 8D2A movea.l A2, [A5 - 0x72D6]
00000938 D5C0 add.l A2, D0
0000093A 544F addq.w A7, 2
0000093C 6012 bra +0x14 /* 00000950 */
label0000093E:
0000093E 5243 addq.w D3, 1
00000940 0C43 1000 cmpi.w D3, 0x1000
00000944 6608 bne +0xA /* 0000094E */
00000946 7600 moveq.l D3, 0x00
00000948 246D 8D2A movea.l A2, [A5 - 0x72D6]
0000094C 6002 bra +0x4 /* 00000950 */
label0000094E:
0000094E 508A addq.l A2, 8
label00000950:
00000950 4A12 tst.b [A2]
00000952 66EA bne -0x14 /* 0000093E */
00000954 4A2F 0014 tst.b [A7 + 0x14]
00000958 670E beq +0x10 /* 00000968 */
0000095A 7000 moveq.l D0, 0x00
0000095C 3004 move.w D0, D4
0000095E E788 lsl D0, 3
00000960 206D 8D2A movea.l A0, [A5 - 0x72D6]
00000964 3183 0802 move.w [A0 + D0 + 0x2], D3
label00000968:
00000968 3003 move.w D0, D3
0000096A 4CDF 0418 movem.l D3,D4,A2, [A7]+
0000096E 4E75 rts
fn00000970:
00000970 322F 0004 move.w D1, [A7 + 0x4]
00000974 6002 bra +0x4 /* 00000978 */
label00000976:
00000976 3202 move.w D1, D2
label00000978:
00000978 7000 moveq.l D0, 0x00
0000097A 3001 move.w D0, D1
0000097C E788 lsl D0, 3
0000097E 206D 8D2A movea.l A0, [A5 - 0x72D6]
00000982 3430 0802 move.w D2, [A0 + D0 + 0x2]
00000986 66EE bne -0x10 /* 00000976 */
00000988 3001 move.w D0, D1
0000098A 4E75 rts
fn0000098C:
0000098C 2F03 move.l -[A7], D3
0000098E 7000 moveq.l D0, 0x00
00000990 102F 000A move.b D0, [A7 + 0xA]
00000994 7600 moveq.l D3, 0x00
00000996 362F 0008 move.w D3, [A7 + 0x8]
0000099A D680 add.l D3, D0
0000099C 0283 0000 FFFF andi.l D3, 0xFFFF
000009A2 0083 0000 0800 ori.l D3, 0x800
000009A8 2003 move.l D0, D3
000009AA 2203 move.l D1, D3
000009AC 4EAD D8F8 jsr [A5 - 0x2708]
000009B0 EC88 lsr D0, 6
000009B2 0280 0000 0FFF andi.l D0, 0xFFF
000009B8 261F move.l D3, [A7]+
000009BA 4E75 rts
fn000009BC:
000009BC 48E7 0C08 movem.l -[A7], D4,D5,A4
000009C0 286F 0010 movea.l A4, [A7 + 0x10]
000009C4 226F 0014 movea.l A1, [A7 + 0x14]
000009C8 383C FFFF move.w D4, 0xFFFF
000009CC 2054 movea.l A0, [A4]
000009CE 2A11 move.l D5, [A1]
000009D0 4A85 tst.l D5
000009D2 6F72 ble +0x74 /* 00000A46 */
000009D4 7000 moveq.l D0, 0x00
000009D6 302D B644 move.w D0, [A5 - 0x49BC]
000009DA 0C80 0000 F000 cmpi.l D0, 0xF000
000009E0 6640 bne +0x42 /* 00000A22 */
000009E2 7400 moveq.l D2, 0x00
000009E4 1418 move.b D2, [A0]+
000009E6 5385 subq.l D5, 1
000009E8 0242 00FF andi.w D2, 0xFF
000009EC 4A85 tst.l D5
000009EE 6F56 ble +0x58 /* 00000A46 */
000009F0 7000 moveq.l D0, 0x00
000009F2 1018 move.b D0, [A0]+
000009F4 3B40 B644 move.w [A5 - 0x49BC], D0
000009F8 5385 subq.l D5, 1
000009FA 026D 00FF B644 andi.w [A5 - 0x49BC], 0xFF
00000A00 780F moveq.l D4, 0x0F
00000A02 7200 moveq.l D1, 0x00
00000A04 322D B644 move.w D1, [A5 - 0x49BC]
00000A08 E881 asr D1, 4
00000A0A C284 and.l D1, D4
00000A0C 7800 moveq.l D4, 0x00
00000A0E 3802 move.w D4, D2
00000A10 E98C lsl D4, 4
00000A12 0284 0000 0FF0 andi.l D4, 0xFF0
00000A18 D881 add.l D4, D1
00000A1A 026D 000F B644 andi.w [A5 - 0x49BC], 0xF
00000A20 6024 bra +0x26 /* 00000A46 */
label00000A22:
00000A22 7400 moveq.l D2, 0x00
00000A24 1418 move.b D2, [A0]+
00000A26 5385 subq.l D5, 1
00000A28 0242 00FF andi.w D2, 0xFF
00000A2C 7000 moveq.l D0, 0x00
00000A2E 302D B644 move.w D0, [A5 - 0x49BC]
00000A32 E188 lsl D0, 8
00000A34 0280 0000 0F00 andi.l D0, 0xF00
00000A3A 7800 moveq.l D4, 0x00
00000A3C 3802 move.w D4, D2
00000A3E D880 add.l D4, D0
00000A40 3B7C F000 B644 move.w [A5 - 0x49BC], 0xF000
label00000A46:
00000A46 2888 move.l [A4], A0
00000A48 2285 move.l [A1], D5
00000A4A 3004 move.w D0, D4
00000A4C 4CDF 1030 movem.l D4,D5,A4, [A7]+
00000A50 4E75 rts
00000A52 4FEF FFF2 lea.l A7, [A7 - 0xE]
00000A56 4297 clr.l [A7]
00000A58 42AF 0004 clr.l [A7 + 0x4]
00000A5C 42AF 0008 clr.l [A7 + 0x8]
00000A60 4857 pea.l [A7]
00000A62 486F 0008 pea.l [A7 + 0x8]
00000A66 2F2F 001E move.l -[A7], [A7 + 0x1E]
00000A6A 4EAD DBF2 jsr [A5 - 0x240E]
00000A6E 4A80 tst.l D0
00000A70 4FEF 000C lea.l A7, [A7 + 0xC]
00000A74 6734 beq +0x36 /* 00000AAA */
00000A76 2F2F 0016 move.l -[A7], [A7 + 0x16]
00000A7A 486F 0008 pea.l [A7 + 0x8]
00000A7E 2F2F 0008 move.l -[A7], [A7 + 0x8]
00000A82 486D E938 pea.l [A5 - 0x16C8]
00000A86 42A7 clr.l -[A7]
00000A88 4EAD DC28 jsr [A5 - 0x23D8]
00000A8C 4AAD B0CE tst.l [A5 - 0x4F32]
00000A90 6618 bne +0x1A /* 00000AAA */
00000A92 42AD B0D2 clr.l [A5 - 0x4F2E]
00000A96 302D 135E move.w D0, [A5 + 0x135E]
00000A9A 48C0 ext.l D0
00000A9C 0680 0000 0094 addi.l D0, 0x94
00000AA2 3F00 move.w -[A7], D0
00000AA4 4EAD DB68 jsr [A5 - 0x2498]
00000AA8 544F addq.w A7, 2
label00000AAA:
00000AAA 4AAF 0008 tst.l [A7 + 0x8]
00000AAE 6706 beq +0x8 /* 00000AB6 */
00000AB0 206F 0008 movea.l A0, [A7 + 0x8]
00000AB4 A023 syscall DisposHandle/DisposeHandle
label00000AB6:
00000AB6 4AAF 0004 tst.l [A7 + 0x4]
00000ABA 6706 beq +0x8 /* 00000AC2 */
00000ABC 206F 0004 movea.l A0, [A7 + 0x4]
00000AC0 A023 syscall DisposHandle/DisposeHandle
label00000AC2:
00000AC2 4A97 tst.l [A7]
00000AC4 6704 beq +0x6 /* 00000ACA */
00000AC6 2057 movea.l A0, [A7]
00000AC8 A023 syscall DisposHandle/DisposeHandle
label00000ACA:
00000ACA 4FEF 000E lea.l A7, [A7 + 0xE]
00000ACE 205F movea.l A0, [A7]+
00000AD0 504F addq.w A7, 8
00000AD2 4ED0 jmp [A0]
00000AD4 42A7 clr.l -[A7]
00000AD6 2F2F 0008 move.l -[A7], [A7 + 0x8]
00000ADA 4EAD DB74 jsr [A5 - 0x248C]
00000ADE 504F addq.w A7, 8
00000AE0 4E75 rts
00000AE2 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
00000AE6 594F subq.w A7, 4
00000AE8 2E2F 002C move.l D7, [A7 + 0x2C]
00000AEC 2A2F 0030 move.l D5, [A7 + 0x30]
00000AF0 4297 clr.l [A7]
00000AF2 4EAD DB8C jsr [A5 - 0x2474]
00000AF6 4A80 tst.l D0
00000AF8 660A bne +0xC /* 00000B04 */
00000AFA 91C8 sub.l A0, A0
00000AFC 584F addq.w A7, 4
00000AFE 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00000B02 4E75 rts
label00000B04:
00000B04 1F3C 0005 move.b -[A7], 0x5
00000B08 1F3C 0006 move.b -[A7], 0x6
00000B0C 2F07 move.l -[A7], D7
00000B0E 4EAD E818 jsr [A5 - 0x17E8]
00000B12 5C4F addq.w A7, 6
00000B14 3F10 move.w -[A7], [A0]
00000B16 4EAD E708 jsr [A5 - 0x18F8]
00000B1A 2C08 move.l D6, A0
00000B1C 4AAF 0038 tst.l [A7 + 0x38]
00000B20 584F addq.w A7, 4
00000B22 6772 beq +0x74 /* 00000B96 */
00000B24 9DCE sub.l A6, A6
00000B26 594F subq.w A7, 4
00000B28 2F06 move.l -[A7], D6
00000B2A 4EAD D9AC jsr [A5 - 0x2654]
00000B2E 201F move.l D0, [A7]+
00000B30 E488 lsr D0, 2
00000B32 2800 move.l D4, D0
00000B34 2F06 move.l -[A7], D6
00000B36 4EAD DD80 jsr [A5 - 0x2280]
00000B3A 2448 movea.l A2, A0
00000B3C 7600 moveq.l D3, 0x00
00000B3E 584F addq.w A7, 4
00000B40 6036 bra +0x38 /* 00000B78 */
label00000B42:
00000B42 4A92 tst.l [A2]
00000B44 672E beq +0x30 /* 00000B74 */
00000B46 2052 movea.l A0, [A2]
00000B48 2650 movea.l A3, [A0]
00000B4A 4AAB 0010 tst.l [A3 + 0x10]
00000B4E 6724 beq +0x26 /* 00000B74 */
00000B50 286B 0010 movea.l A4, [A3 + 0x10]
00000B54 2F05 move.l -[A7], D5
00000B56 2F0C move.l -[A7], A4
00000B58 4EAD DD80 jsr [A5 - 0x2280]
00000B5C 584F addq.w A7, 4
00000B5E 2F08 move.l -[A7], A0
00000B60 4EAD E458 jsr [A5 - 0x1BA8]
00000B64 4A80 tst.l D0
00000B66 504F addq.w A7, 8
00000B68 6602 bne +0x4 /* 00000B6C */
00000B6A 2C52 movea.l A6, [A2]
label00000B6C:
00000B6C 2F0C move.l -[A7], A4
00000B6E 4EAD DD88 jsr [A5 - 0x2278]
00000B72 584F addq.w A7, 4
label00000B74:
00000B74 5283 addq.l D3, 1
00000B76 588A addq.l A2, 4
label00000B78:
00000B78 B684 cmp.l D3, D4
00000B7A 6C04 bge +0x6 /* 00000B80 */
00000B7C 200E move.l D0, A6
00000B7E 67C2 beq -0x3C /* 00000B42 */
label00000B80:
00000B80 2F06 move.l -[A7], D6
00000B82 4EAD DD88 jsr [A5 - 0x2278]
00000B86 200E move.l D0, A6
00000B88 584F addq.w A7, 4
00000B8A 670A beq +0xC /* 00000B96 */
00000B8C 204E movea.l A0, A6
00000B8E 584F addq.w A7, 4
00000B90 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00000B94 4E75 rts
label00000B96:
00000B96 4857 pea.l [A7]
00000B98 2F05 move.l -[A7], D5
00000B9A 2F07 move.l -[A7], D7
00000B9C 4EAD F488 jsr [A5 - 0xB78]
00000BA0 4A40 tst.w D0
00000BA2 4FEF 000C lea.l A7, [A7 + 0xC]
00000BA6 670A beq +0xC /* 00000BB2 */
00000BA8 91C8 sub.l A0, A0
00000BAA 584F addq.w A7, 4
00000BAC 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00000BB0 4E75 rts
label00000BB2:
00000BB2 41D7 lea.l A0, [A7]
00000BB4 2246 movea.l A1, D6
00000BB6 7004 moveq.l D0, 0x04
00000BB8 A9EF syscall PtrAndHand
00000BBA 4A40 tst.w D0
00000BBC 6710 beq +0x12 /* 00000BCE */
00000BBE 2F17 move.l -[A7], [A7]
00000BC0 4EAD F490 jsr [A5 - 0xB70]
00000BC4 91C8 sub.l A0, A0
00000BC6 504F addq.w A7, 8
00000BC8 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00000BCC 4E75 rts
label00000BCE:
00000BCE 2057 movea.l A0, [A7]
00000BD0 584F addq.w A7, 4
00000BD2 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00000BD6 4E75 rts
fn00000BD8:
00000BD8 48E7 1820 movem.l -[A7], D3,D4,A2
00000BDC 282F 0010 move.l D4, [A7 + 0x10]
00000BE0 162F 0014 move.b D3, [A7 + 0x14]
00000BE4 594F subq.w A7, 4
00000BE6 2EB8 09D6 move.l [A7], [0x000009D6 /* WindowList */]
00000BEA 205F movea.l A0, [A7]+
00000BEC 2448 movea.l A2, A0
00000BEE 6032 bra +0x34 /* 00000C22 */
label00000BF0:
00000BF0 302A 006C move.w D0, [A2 + 0x6C]
00000BF4 B06D B416 cmp.w D0, [A5 - 0x4BEA]
00000BF8 6624 bne +0x26 /* 00000C1E */
00000BFA 2F0A move.l -[A7], A2
00000BFC 4EAD E848 jsr [A5 - 0x17B8]
00000C00 B600 cmp.b D3, D0
00000C02 584F addq.w A7, 4
00000C04 6618 bne +0x1A /* 00000C1E */
00000C06 1F3C 000F move.b -[A7], 0xF
00000C0A 2F0A move.l -[A7], A2
00000C0C 4EAD E818 jsr [A5 - 0x17E8]
00000C10 B890 cmp.l D4, [A0]
00000C12 5C4F addq.w A7, 6
00000C14 6608 bne +0xA /* 00000C1E */
00000C16 2F0A move.l -[A7], A2
00000C18 4EAD DF80 jsr [A5 - 0x2080]
00000C1C 6008 bra +0xA /* 00000C26 */
label00000C1E:
00000C1E 246A 0090 movea.l A2, [A2 + 0x90]
label00000C22:
00000C22 200A move.l D0, A2
00000C24 66CA bne -0x34 /* 00000BF0 */
label00000C26:
00000C26 4CDF 0418 movem.l D3,D4,A2, [A7]+
00000C2A 4E75 rts
fn00000C2C:
00000C2C 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
00000C30 514F subq.w A7, 8
00000C32 2C6F 0034 movea.l A6, [A7 + 0x34]
00000C36 2A2F 0038 move.l D5, [A7 + 0x38]
00000C3A 286F 003C movea.l A4, [A7 + 0x3C]
00000C3E 2E2F 0046 move.l D7, [A7 + 0x46]
00000C42 2C2F 004A move.l D6, [A7 + 0x4A]
00000C46 246F 0030 movea.l A2, [A7 + 0x30]
00000C4A 1F3C 0005 move.b -[A7], 0x5
00000C4E 2F0A move.l -[A7], A2
00000C50 4EAD E818 jsr [A5 - 0x17E8]
00000C54 2648 movea.l A3, A0
00000C56 42AF 000A clr.l [A7 + 0xA]
00000C5A 42AF 0006 clr.l [A7 + 0x6]
00000C5E 204E movea.l A0, A6
00000C60 70FF moveq.l D0, 0xFFFFFFFF
label00000C62:
00000C62 5280 addq.l D0, 1
00000C64 4A18 tst.b [A0]+
00000C66 66FA bne -0x4 /* 00000C62 */
00000C68 2800 move.l D4, D0
00000C6A 4A2F 004A tst.b [A7 + 0x4A]
00000C6E 56C0 sne D0
00000C70 4400 neg.b D0
00000C72 4880 ext.w D0
00000C74 48C0 ext.l D0
00000C76 2600 move.l D3, D0
00000C78 2F0A move.l -[A7], A2
00000C7A 4EAD DD40 jsr [A5 - 0x22C0]
00000C7E 2F0A move.l -[A7], A2
00000C80 4EAD E848 jsr [A5 - 0x17B8]
00000C84 5300 subq.b D0, 1
00000C86 4FEF 000E lea.l A7, [A7 + 0xE]
00000C8A 6604 bne +0x6 /* 00000C90 */
00000C8C 4A83 tst.l D3
00000C8E 6708 beq +0xA /* 00000C98 */
label00000C90:
00000C90 42A7 clr.l -[A7]
00000C92 4EBA 09A2 jsr [PC + 0x9A2 /* 00001636 */]
00000C96 584F addq.w A7, 4
label00000C98:
00000C98 4A84 tst.l D4
00000C9A 6744 beq +0x46 /* 00000CE0 */
00000C9C 7000 moveq.l D0, 0x00
00000C9E 102B 0006 move.b D0, [A3 + 0x6]
00000CA2 B084 cmp.l D0, D4
00000CA4 6616 bne +0x18 /* 00000CBC */
00000CA6 2F04 move.l -[A7], D4
00000CA8 2F0E move.l -[A7], A6
00000CAA 7006 moveq.l D0, 0x06
00000CAC 4873 0801 pea.l [A3 + D0 + 0x1]
00000CB0 4EAD E460 jsr [A5 - 0x1BA0]
00000CB4 4A80 tst.l D0
00000CB6 4FEF 000C lea.l A7, [A7 + 0xC]
00000CBA 6724 beq +0x26 /* 00000CE0 */
label00000CBC:
00000CBC 0C2F 0002 0044 cmpi.b [A7 + 0x44], 0x2
00000CC2 57C0 seq D0
00000CC4 4400 neg.b D0
00000CC6 4880 ext.w D0
00000CC8 48C0 ext.l D0
00000CCA 2F00 move.l -[A7], D0
00000CCC 2F03 move.l -[A7], D3
00000CCE 2F0C move.l -[A7], A4
00000CD0 2F0E move.l -[A7], A6
00000CD2 2F0A move.l -[A7], A2
00000CD4 2F0B move.l -[A7], A3
00000CD6 4EBA 037A jsr [PC + 0x37A /* 00001052 */]
00000CDA 2448 movea.l A2, A0
00000CDC 4FEF 0018 lea.l A7, [A7 + 0x18]
label00000CE0:
00000CE0 200A move.l D0, A2
00000CE2 6700 00BA beq +0xBC /* 00000D9E */
00000CE6 1F3C 0006 move.b -[A7], 0x6
00000CEA 2F0A move.l -[A7], A2
00000CEC 4EAD E818 jsr [A5 - 0x17E8]
00000CF0 3810 move.w D4, [A0]
00000CF2 4A85 tst.l D5
00000CF4 5C4F addq.w A7, 6
00000CF6 6C3A bge +0x3C /* 00000D32 */
00000CF8 4AAF 0040 tst.l [A7 + 0x40]
00000CFC 671A beq +0x1C /* 00000D18 */
00000CFE 42A7 clr.l -[A7]
00000D00 486F 0004 pea.l [A7 + 0x4]
00000D04 486F 000C pea.l [A7 + 0xC]
00000D08 2F2F 004C move.l -[A7], [A7 + 0x4C]
00000D0C 3F04 move.w -[A7], D4
00000D0E 4EAD E1A0 jsr [A5 - 0x1E60]
00000D12 4FEF 0012 lea.l A7, [A7 + 0x12]
00000D16 6030 bra +0x32 /* 00000D48 */
label00000D18:
00000D18 1F3C 0004 move.b -[A7], 0x4
00000D1C 2F0A move.l -[A7], A2
00000D1E 4EAD E818 jsr [A5 - 0x17E8]
00000D22 2648 movea.l A3, A0
00000D24 2F53 000A move.l [A7 + 0xA], [A3]
00000D28 2F6B 0004 0006 move.l [A7 + 0x6], [A3 + 0x4]
00000D2E 5C4F addq.w A7, 6
00000D30 6016 bra +0x18 /* 00000D48 */
label00000D32:
00000D32 4A85 tst.l D5
00000D34 6F12 ble +0x14 /* 00000D48 */
00000D36 4857 pea.l [A7]
00000D38 486F 0008 pea.l [A7 + 0x8]
00000D3C 2F05 move.l -[A7], D5
00000D3E 3F04 move.w -[A7], D4
00000D40 4EAD E218 jsr [A5 - 0x1DE8]
00000D44 4FEF 000E lea.l A7, [A7 + 0xE]
label00000D48:
00000D48 4A14 tst.b [A4]
00000D4A 672C beq +0x2E /* 00000D78 */
00000D4C 2F0C move.l -[A7], A4
00000D4E 1F3C 0006 move.b -[A7], 0x6
00000D52 2F0A move.l -[A7], A2
00000D54 4EAD E818 jsr [A5 - 0x17E8]
00000D58 5C4F addq.w A7, 6
00000D5A 3F10 move.w -[A7], [A0]
00000D5C 4EAD E2F0 jsr [A5 - 0x1D10]
00000D60 5C4F addq.w A7, 6
00000D62 2F00 move.l -[A7], D0
00000D64 2F2F 0004 move.l -[A7], [A7 + 0x4]
00000D68 2F2F 000C move.l -[A7], [A7 + 0xC]
00000D6C 2F0A move.l -[A7], A2
00000D6E 4EBA 104E jsr [PC + 0x104E /* 00001DBE */]
00000D72 4FEF 0010 lea.l A7, [A7 + 0x10]
00000D76 601A bra +0x1C /* 00000D92 */
label00000D78:
00000D78 4A83 tst.l D3
00000D7A 6716 beq +0x18 /* 00000D92 */
00000D7C 42A7 clr.l -[A7]
00000D7E 42A7 clr.l -[A7]
00000D80 2F2F 0008 move.l -[A7], [A7 + 0x8]
00000D84 2F2F 0010 move.l -[A7], [A7 + 0x10]
00000D88 2F0A move.l -[A7], A2
00000D8A 4EBA 17EA jsr [PC + 0x17EA /* 00002576 */]
00000D8E 4FEF 0014 lea.l A7, [A7 + 0x14]
label00000D92:
00000D92 4A83 tst.l D3
00000D94 6708 beq +0xA /* 00000D9E */
00000D96 2F0A move.l -[A7], A2
00000D98 206D 133E movea.l A0, [A5 + 0x133E]
00000D9C 4E90 jsr [A0]
label00000D9E:
00000D9E 4EAD DD48 jsr [A5 - 0x22B8]
00000DA2 4A87 tst.l D7
00000DA4 6704 beq +0x6 /* 00000DAA */
00000DA6 2047 movea.l A0, D7
00000DA8 208A move.l [A0], A2
label00000DAA:
00000DAA 4A86 tst.l D6
00000DAC 6706 beq +0x8 /* 00000DB4 */
00000DAE 2046 movea.l A0, D6
00000DB0 20AF 0004 move.l [A0], [A7 + 0x4]
label00000DB4:
00000DB4 504F addq.w A7, 8
00000DB6 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00000DBA 4E75 rts
00000DBC 48E7 0030 movem.l -[A7], A2,A3
00000DC0 246D 9D32 movea.l A2, [A5 - 0x62CE]
00000DC4 600A bra +0xC /* 00000DD0 */
label00000DC6:
00000DC6 2052 movea.l A0, [A2]
00000DC8 2650 movea.l A3, [A0]
00000DCA 204A movea.l A0, A2
00000DCC A023 syscall DisposHandle/DisposeHandle
00000DCE 244B movea.l A2, A3
label00000DD0:
00000DD0 200A move.l D0, A2
00000DD2 66F2 bne -0xC /* 00000DC6 */
00000DD4 42AD 9D32 clr.l [A5 - 0x62CE]
00000DD8 4CDF 0C00 movem.l A2,A3, [A7]+
00000DDC 4E75 rts
00000DDE 48E7 003A movem.l -[A7], A2,A3,A4,A6
00000DE2 2C6F 0014 movea.l A6, [A7 + 0x14]
00000DE6 246D 9D3E movea.l A2, [A5 - 0x62C2]
00000DEA 6026 bra +0x28 /* 00000E12 */
label00000DEC:
00000DEC 2652 movea.l A3, [A2]
00000DEE 2853 movea.l A4, [A3]
00000DF0 BDEB 0008 cmpa.l A6, [A3 + 0x8]
00000DF4 661A bne +0x1C /* 00000E10 */
00000DF6 4AAB 000C tst.l [A3 + 0xC]
00000DFA 6706 beq +0x8 /* 00000E02 */
00000DFC 206B 000C movea.l A0, [A3 + 0xC]
00000E00 A023 syscall DisposHandle/DisposeHandle
label00000E02:
00000E02 2F0A move.l -[A7], A2
00000E04 4EBA 014A jsr [PC + 0x14A /* 00000F50 */]
00000E08 2F0A move.l -[A7], A2
00000E0A 4EBA 018A jsr [PC + 0x18A /* 00000F96 */]
00000E0E 504F addq.w A7, 8
label00000E10:
00000E10 244C movea.l A2, A4
label00000E12:
00000E12 200A move.l D0, A2
00000E14 66D6 bne -0x28 /* 00000DEC */
00000E16 4CDF 5C00 movem.l A2,A3,A4,A6, [A7]+
00000E1A 4E75 rts
fn00000E1C:
00000E1C 48E7 0030 movem.l -[A7], A2,A3
00000E20 4AAD 9D2E tst.l [A5 - 0x62D2]
00000E24 6642 bne +0x44 /* 00000E68 */
00000E26 52AD 9D2E addq.l [A5 - 0x62D2], 1
00000E2A 6030 bra +0x32 /* 00000E5C */
label00000E2C:
00000E2C 2B4A 9D3A move.l [A5 - 0x62C6], A2
00000E30 2652 movea.l A3, [A2]
00000E32 2F2B 0010 move.l -[A7], [A3 + 0x10]
00000E36 1F2B 0014 move.b -[A7], [A3 + 0x14]
00000E3A 2F2B 000C move.l -[A7], [A3 + 0xC]
00000E3E 2F2B 0008 move.l -[A7], [A3 + 0x8]
00000E42 4EBA 01A6 jsr [PC + 0x1A6 /* 00000FEA */]
00000E46 2B6D 9D36 9D3A move.l [A5 - 0x62C6], [A5 - 0x62CA]
00000E4C 2F0A move.l -[A7], A2
00000E4E 4EBA 0100 jsr [PC + 0x100 /* 00000F50 */]
00000E52 2F0A move.l -[A7], A2
00000E54 4EBA 0140 jsr [PC + 0x140 /* 00000F96 */]
00000E58 4FEF 0016 lea.l A7, [A7 + 0x16]
label00000E5C:
00000E5C 246D 9D3E movea.l A2, [A5 - 0x62C2]
00000E60 200A move.l D0, A2
00000E62 66C8 bne -0x36 /* 00000E2C */
00000E64 53AD 9D2E subq.l [A5 - 0x62D2], 1
label00000E68:
00000E68 4CDF 0C00 movem.l A2,A3, [A7]+
00000E6C 4E75 rts
00000E6E 4AAF 0008 tst.l [A7 + 0x8]
00000E72 670E beq +0x10 /* 00000E82 */
00000E74 554F subq.w A7, 2
00000E76 486F 000A pea.l [A7 + 0xA]
00000E7A 4EAD DA30 jsr [A5 - 0x25D0]
00000E7E 301F move.w D0, [A7]+
00000E80 6618 bne +0x1A /* 00000E9A */
label00000E82:
00000E82 2F2F 000E move.l -[A7], [A7 + 0xE]
00000E86 1F2F 0010 move.b -[A7], [A7 + 0x10]
00000E8A 2F2F 000E move.l -[A7], [A7 + 0xE]
00000E8E 2F2F 000E move.l -[A7], [A7 + 0xE]
00000E92 4EBA 0156 jsr [PC + 0x156 /* 00000FEA */]
00000E96 4FEF 000E lea.l A7, [A7 + 0xE]
label00000E9A:
00000E9A 4E75 rts
fn00000E9C:
00000E9C 48E7 0030 movem.l -[A7], A2,A3
00000EA0 4AAF 0010 tst.l [A7 + 0x10]
00000EA4 670E beq +0x10 /* 00000EB4 */
00000EA6 554F subq.w A7, 2
00000EA8 486F 0012 pea.l [A7 + 0x12]
00000EAC 4EAD DA30 jsr [A5 - 0x25D0]
00000EB0 301F move.w D0, [A7]+
00000EB2 663E bne +0x40 /* 00000EF2 */
label00000EB4:
00000EB4 4EBA 0108 jsr [PC + 0x108 /* 00000FBE */]
00000EB8 2648 movea.l A3, A0
00000EBA 2008 move.l D0, A0
00000EBC 6612 bne +0x14 /* 00000ED0 */
00000EBE 4AAF 0010 tst.l [A7 + 0x10]
00000EC2 6706 beq +0x8 /* 00000ECA */
00000EC4 206F 0010 movea.l A0, [A7 + 0x10]
00000EC8 A023 syscall DisposHandle/DisposeHandle
label00000ECA:
00000ECA 4CDF 0C00 movem.l A2,A3, [A7]+
00000ECE 4E75 rts
label00000ED0:
00000ED0 2453 movea.l A2, [A3]
00000ED2 256F 000C 0008 move.l [A2 + 0x8], [A7 + 0xC]
00000ED8 256F 0010 000C move.l [A2 + 0xC], [A7 + 0x10]
00000EDE 156F 0014 0014 move.b [A2 + 0x14], [A7 + 0x14]
00000EE4 256F 0016 0010 move.l [A2 + 0x10], [A7 + 0x16]
00000EEA 2F0B move.l -[A7], A3
00000EEC 4EBA 000A jsr [PC + 0xA /* 00000EF8 */]
00000EF0 584F addq.w A7, 4
label00000EF2:
00000EF2 4CDF 0C00 movem.l A2,A3, [A7]+
00000EF6 4E75 rts
fn00000EF8:
00000EF8 48E7 0018 movem.l -[A7], A3,A4
00000EFC 226F 000C movea.l A1, [A7 + 0xC]
00000F00 2651 movea.l A3, [A1]
00000F02 4AAD 9D3A tst.l [A5 - 0x62C6]
00000F06 6618 bne +0x1A /* 00000F20 */
00000F08 2B49 9D3E move.l [A5 - 0x62C2], A1
00000F0C 2B49 9D3A move.l [A5 - 0x62C6], A1
00000F10 2B49 9D36 move.l [A5 - 0x62CA], A1
00000F14 42AB 0004 clr.l [A3 + 0x4]
00000F18 4293 clr.l [A3]
00000F1A 4CDF 1800 movem.l A3,A4, [A7]+
00000F1E 4E75 rts
label00000F20:
00000F20 206D 9D3A movea.l A0, [A5 - 0x62C6]
00000F24 2850 movea.l A4, [A0]
00000F26 2748 0004 move.l [A3 + 0x4], A0
00000F2A 2694 move.l [A3], [A4]
00000F2C 6708 beq +0xA /* 00000F36 */
00000F2E 2054 movea.l A0, [A4]
00000F30 2050 movea.l A0, [A0]
00000F32 2149 0004 move.l [A0 + 0x4], A1
label00000F36:
00000F36 2889 move.l [A4], A1
00000F38 206D 9D3A movea.l A0, [A5 - 0x62C6]
00000F3C B1ED 9D36 cmpa.l A0, [A5 - 0x62CA]
00000F40 6604 bne +0x6 /* 00000F46 */
00000F42 2B49 9D36 move.l [A5 - 0x62CA], A1
label00000F46:
00000F46 2B49 9D3A move.l [A5 - 0x62C6], A1
00000F4A 4CDF 1800 movem.l A3,A4, [A7]+
00000F4E 4E75 rts
fn00000F50:
00000F50 2F0B move.l -[A7], A3
00000F52 266F 0008 movea.l A3, [A7 + 0x8]
00000F56 2253 movea.l A1, [A3]
00000F58 4AA9 0004 tst.l [A1 + 0x4]
00000F5C 6708 beq +0xA /* 00000F66 */
00000F5E 2069 0004 movea.l A0, [A1 + 0x4]
00000F62 2050 movea.l A0, [A0]
00000F64 2091 move.l [A0], [A1]
label00000F66:
00000F66 4A91 tst.l [A1]
00000F68 670A beq +0xC /* 00000F74 */
00000F6A 2051 movea.l A0, [A1]
00000F6C 2050 movea.l A0, [A0]
00000F6E 2169 0004 0004 move.l [A0 + 0x4], [A1 + 0x4]
label00000F74:
00000F74 B7ED 9D3E cmpa.l A3, [A5 - 0x62C2]
00000F78 6604 bne +0x6 /* 00000F7E */
00000F7A 2B51 9D3E move.l [A5 - 0x62C2], [A1]
label00000F7E:
00000F7E B7ED 9D3A cmpa.l A3, [A5 - 0x62C6]
00000F82 6604 bne +0x6 /* 00000F88 */
00000F84 2B51 9D3A move.l [A5 - 0x62C6], [A1]
label00000F88:
00000F88 B7ED 9D36 cmpa.l A3, [A5 - 0x62CA]
00000F8C 6604 bne +0x6 /* 00000F92 */
00000F8E 2B51 9D36 move.l [A5 - 0x62CA], [A1]
label00000F92:
00000F92 265F movea.l A3, [A7]+
00000F94 4E75 rts
fn00000F96:
00000F96 2F0B move.l -[A7], A3
00000F98 266F 0008 movea.l A3, [A7 + 0x8]
00000F9C 2253 movea.l A1, [A3]
00000F9E 42A9 000C clr.l [A1 + 0xC]
00000FA2 42A9 0004 clr.l [A1 + 0x4]
00000FA6 22AD 9D32 move.l [A1], [A5 - 0x62CE]
00000FAA 670A beq +0xC /* 00000FB6 */
00000FAC 206D 9D32 movea.l A0, [A5 - 0x62CE]
00000FB0 2050 movea.l A0, [A0]
00000FB2 214B 0004 move.l [A0 + 0x4], A3
label00000FB6:
00000FB6 2B4B 9D32 move.l [A5 - 0x62CE], A3
00000FBA 265F movea.l A3, [A7]+
00000FBC 4E75 rts
fn00000FBE:
00000FBE 2F0A move.l -[A7], A2
00000FC0 246D 9D32 movea.l A2, [A5 - 0x62CE]
00000FC4 200A move.l D0, A2
00000FC6 6716 beq +0x18 /* 00000FDE */
00000FC8 204A movea.l A0, A2
00000FCA 2050 movea.l A0, [A0]
00000FCC 2B50 9D32 move.l [A5 - 0x62CE], [A0]
00000FD0 6712 beq +0x14 /* 00000FE4 */
00000FD2 206D 9D32 movea.l A0, [A5 - 0x62CE]
00000FD6 2050 movea.l A0, [A0]
00000FD8 42A8 0004 clr.l [A0 + 0x4]
00000FDC 6006 bra +0x8 /* 00000FE4 */
label00000FDE:
00000FDE 7016 moveq.l D0, 0x16
00000FE0 A122 syscall NewHandle, flags=1
00000FE2 2448 movea.l A2, A0
label00000FE4:
00000FE4 204A movea.l A0, A2
00000FE6 245F movea.l A2, [A7]+
00000FE8 4E75 rts
fn00000FEA:
00000FEA 48E7 1830 movem.l -[A7], D3,D4,A2,A3
00000FEE 266F 0014 movea.l A3, [A7 + 0x14]
00000FF2 246F 0018 movea.l A2, [A7 + 0x18]
00000FF6 1F3C 0006 move.b -[A7], 0x6
00000FFA 2F0B move.l -[A7], A3
00000FFC 4EAD E818 jsr [A5 - 0x17E8]
00001000 3610 move.w D3, [A0]
00001002 52AD 9D2E addq.l [A5 - 0x62D2], 1
00001006 200A move.l D0, A2
00001008 5C4F addq.w A7, 6
0000100A 6728 beq +0x2A /* 00001034 */
0000100C 4EAD DB08 jsr [A5 - 0x24F8]
00001010 3800 move.w D4, D0
00001012 3F03 move.w -[A7], D3
00001014 4EAD DB0E jsr [A5 - 0x24F2]
00001018 204A movea.l A0, A2
0000101A A029 syscall HLock
0000101C 2F12 move.l -[A7], [A2]
0000101E 2F0B move.l -[A7], A3
00001020 4EAD DBB0 jsr [A5 - 0x2450]
00001024 204A movea.l A0, A2
00001026 A023 syscall DisposHandle/DisposeHandle
00001028 3F04 move.w -[A7], D4
0000102A 4EAD DB0E jsr [A5 - 0x24F2]
0000102E 4FEF 000C lea.l A7, [A7 + 0xC]
00001032 6014 bra +0x16 /* 00001048 */
label00001034:
00001034 2F0B move.l -[A7], A3
00001036 2F2F 0022 move.l -[A7], [A7 + 0x22]
0000103A 1F2F 0024 move.b -[A7], [A7 + 0x24]
0000103E 3F03 move.w -[A7], D3
00001040 4EAD E230 jsr [A5 - 0x1DD0]
00001044 4FEF 000C lea.l A7, [A7 + 0xC]
label00001048:
00001048 53AD 9D2E subq.l [A5 - 0x62D2], 1
0000104C 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
00001050 4E75 rts
fn00001052:
00001052 48E7 1E3A movem.l -[A7], D3,D4,D5,D6,A2,A3,A4,A6
00001056 4FEF FFBA lea.l A7, [A7 - 0x46]
0000105A 2C6F 006A movea.l A6, [A7 + 0x6A]
0000105E 286F 006E movea.l A4, [A7 + 0x6E]
00001062 266F 0072 movea.l A3, [A7 + 0x72]
00001066 2A2F 007A move.l D5, [A7 + 0x7A]
0000106A 95CA sub.l A2, A2
0000106C 1F3C 000F move.b -[A7], 0xF
00001070 2F0C move.l -[A7], A4
00001072 4EAD E818 jsr [A5 - 0x17E8]
00001076 2810 move.l D4, [A0]
00001078 3F56 0006 move.w [A7 + 0x6], [A6]
0000107C 2F6E 0002 0008 move.l [A7 + 0x8], [A6 + 0x2]
00001082 204B movea.l A0, A3
00001084 70FF moveq.l D0, 0xFFFFFFFF
label00001086:
00001086 5280 addq.l D0, 1
00001088 4A18 tst.b [A0]+
0000108A 66FA bne -0x4 /* 00001086 */
0000108C 2600 move.l D3, D0
0000108E 7040 moveq.l D0, 0x40
00001090 B680 cmp.l D3, D0
00001092 5C4F addq.w A7, 6
00001094 6502 bcs +0x4 /* 00001098 */
00001096 763F moveq.l D3, 0x3F
label00001098:
00001098 204B movea.l A0, A3
0000109A 43EF 0007 lea.l A1, [A7 + 0x7]
0000109E 1F43 0006 move.b [A7 + 0x6], D3
000010A2 7000 moveq.l D0, 0x00
000010A4 1003 move.b D0, D3
000010A6 A02E syscall BlockMove/BlockMoveData
000010A8 4857 pea.l [A7]
000010AA 4EAD E318 jsr [A5 - 0x1CE8]
000010AE 2448 movea.l A2, A0
000010B0 200A move.l D0, A2
000010B2 584F addq.w A7, 4
000010B4 670A beq +0xC /* 000010C0 */
000010B6 2F0A move.l -[A7], A2
000010B8 206D 133A movea.l A0, [A5 + 0x133A /* export_611 */]
000010BC 4E90 jsr [A0]
000010BE 604C bra +0x4E /* 0000110C */
label000010C0:
000010C0 52AD ADBA addq.l [A5 - 0x5246], 1
000010C4 42A7 clr.l -[A7]
000010C6 42A7 clr.l -[A7]
000010C8 2F05 move.l -[A7], D5
000010CA 42A7 clr.l -[A7]
000010CC 486F 0010 pea.l [A7 + 0x10]
000010D0 4EAD E330 jsr [A5 - 0x1CD0]
000010D4 2448 movea.l A2, A0
000010D6 53AD ADBA subq.l [A5 - 0x5246], 1
000010DA 4A85 tst.l D5
000010DC 4FEF 0014 lea.l A7, [A7 + 0x14]
000010E0 6606 bne +0x8 /* 000010E8 */
000010E2 2F0A move.l -[A7], A2
000010E4 4EAD DF80 jsr [A5 - 0x2080]
label000010E8:
000010E8 1F3C 0006 move.b -[A7], 0x6
000010EC 2F0C move.l -[A7], A4
000010EE 4EAD E818 jsr [A5 - 0x17E8]
000010F2 3610 move.w D3, [A0]
000010F4 1F3C 0006 move.b -[A7], 0x6
000010F8 2F0A move.l -[A7], A2
000010FA 4EAD E818 jsr [A5 - 0x17E8]
000010FE 3C10 move.w D6, [A0]
00001100 3F06 move.w -[A7], D6
00001102 3F03 move.w -[A7], D3
00001104 4EAD E718 jsr [A5 - 0x18E8]
00001108 4FEF 0010 lea.l A7, [A7 + 0x10]
label0000110C:
0000110C 200A move.l D0, A2
0000110E 660C bne +0xE /* 0000111C */
00001110 91C8 sub.l A0, A0
00001112 4FEF 0046 lea.l A7, [A7 + 0x46]
00001116 4CDF 5C78 movem.l D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
0000111A 4E75 rts
label0000111C:
0000111C 4A85 tst.l D5
0000111E 671E beq +0x20 /* 0000113E */
00001120 4AAF 007E tst.l [A7 + 0x7E]
00001124 670A beq +0xC /* 00001130 */
00001126 2F0A move.l -[A7], A2
00001128 206D 133A movea.l A0, [A5 + 0x133A /* export_611 */]
0000112C 4E90 jsr [A0]
0000112E 600A bra +0xC /* 0000113A */
label00001130:
00001130 4227 clr.b -[A7]
00001132 2F04 move.l -[A7], D4
00001134 4EBA FAA2 jsr [PC - 0x55E /* 00000BD8 */]
00001138 5C4F addq.w A7, 6
label0000113A:
0000113A 2F0A move.l -[A7], A2
0000113C A873 syscall SetPort
label0000113E:
0000113E 2F04 move.l -[A7], D4
00001140 1F3C 000F move.b -[A7], 0xF
00001144 2F0A move.l -[A7], A2
00001146 4EAD E818 jsr [A5 - 0x17E8]
0000114A 5C4F addq.w A7, 6
0000114C 2F10 move.l -[A7], [A0]
0000114E 4EBA 000E jsr [PC + 0xE /* 0000115E */]
00001152 204A movea.l A0, A2
00001154 4FEF 004E lea.l A7, [A7 + 0x4E]
00001158 4CDF 5C78 movem.l D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
0000115C 4E75 rts
fn0000115E:
0000115E 48E7 1820 movem.l -[A7], D3,D4,A2
00001162 282F 0010 move.l D4, [A7 + 0x10]
00001166 262F 0014 move.l D3, [A7 + 0x14]
0000116A 594F subq.w A7, 4
0000116C 2EB8 09D6 move.l [A7], [0x000009D6 /* WindowList */]
00001170 205F movea.l A0, [A7]+
00001172 2448 movea.l A2, A0
00001174 6028 bra +0x2A /* 0000119E */
label00001176:
00001176 302A 006C move.w D0, [A2 + 0x6C]
0000117A B06D B416 cmp.w D0, [A5 - 0x4BEA]
0000117E 661A bne +0x1C /* 0000119A */
00001180 1F3C 000F move.b -[A7], 0xF
00001184 2F0A move.l -[A7], A2
00001186 4EAD E818 jsr [A5 - 0x17E8]
0000118A B890 cmp.l D4, [A0]
0000118C 5C4F addq.w A7, 6
0000118E 660A bne +0xC /* 0000119A */
00001190 2F03 move.l -[A7], D3
00001192 2F0A move.l -[A7], A2
00001194 4EAD E770 jsr [A5 - 0x1890]
00001198 504F addq.w A7, 8
label0000119A:
0000119A 246A 0090 movea.l A2, [A2 + 0x90]
label0000119E:
0000119E 200A move.l D0, A2
000011A0 66D4 bne -0x2A /* 00001176 */
000011A2 4CDF 0418 movem.l D3,D4,A2, [A7]+
000011A6 4E75 rts
000011A8 48E7 1C20 movem.l -[A7], D3,D4,D5,A2
000011AC 594F subq.w A7, 4
000011AE 246F 0018 movea.l A2, [A7 + 0x18]
000011B2 2A2F 001C move.l D5, [A7 + 0x1C]
000011B6 262F 0020 move.l D3, [A7 + 0x20]
000011BA 1F3C 0006 move.b -[A7], 0x6
000011BE 2F0A move.l -[A7], A2
000011C0 4EAD E818 jsr [A5 - 0x17E8]
000011C4 3810 move.w D4, [A0]
000011C6 486F 0006 pea.l [A7 + 0x6]
000011CA 2F03 move.l -[A7], D3
000011CC 2F0A move.l -[A7], A2
000011CE 4EBA 006C jsr [PC + 0x6C /* 0000123C */]
000011D2 4A80 tst.l D0
000011D4 4FEF 0012 lea.l A7, [A7 + 0x12]
000011D8 6714 beq +0x16 /* 000011EE */
000011DA 2F17 move.l -[A7], [A7]
000011DC 2F05 move.l -[A7], D5
000011DE 2F0A move.l -[A7], A2
000011E0 4EBA 1274 jsr [PC + 0x1274 /* 00002456 */]
000011E4 4FEF 0010 lea.l A7, [A7 + 0x10]
000011E8 4CDF 0438 movem.l D3,D4,D5,A2, [A7]+
000011EC 4E75 rts
label000011EE:
000011EE 486D 9D58 pea.l [A5 - 0x62A8]
000011F2 486D 9D4A pea.l [A5 - 0x62B6]
000011F6 486D 9D42 pea.l [A5 - 0x62BE]
000011FA 2F03 move.l -[A7], D3
000011FC 3F04 move.w -[A7], D4
000011FE 2F0A move.l -[A7], A2
00001200 4EAD E2A8 jsr [A5 - 0x1D58]
00001204 2B45 9D50 move.l [A5 - 0x62B0], D5
00001208 3B6F 003A 9D5A move.w [A5 - 0x62A6], [A7 + 0x3A]
0000120E 2B43 9D54 move.l [A5 - 0x62AC], D3
00001212 2F3C 544F 5043 move.l -[A7], 0x544F5043 /* 'TOPC' */
00001218 2F0A move.l -[A7], A2
0000121A 4EAD E8D8 jsr [A5 - 0x1728]
0000121E 4FEF 0022 lea.l A7, [A7 + 0x22]
00001222 4CDF 0438 movem.l D3,D4,D5,A2, [A7]+
00001226 4E75 rts
fn00001228:
00001228 206F 0004 movea.l A0, [A7 + 0x4]
0000122C 43ED 9D42 lea.l A1, [A5 - 0x62BE]
00001230 7005 moveq.l D0, 0x05
label00001232:
00001232 20D9 move.l [A0]+, [A1]+
00001234 51C8 FFFC dbf D0, -0x6 /* 00001232 */
00001238 30D9 move.w [A0]+, [A1]+
0000123A 4E75 rts
fn0000123C:
0000123C 48E7 1830 movem.l -[A7], D3,D4,A2,A3
00001240 514F subq.w A7, 8
00001242 246F 001C movea.l A2, [A7 + 0x1C]
00001246 282F 0020 move.l D4, [A7 + 0x20]
0000124A 266F 0024 movea.l A3, [A7 + 0x24]
0000124E 7600 moveq.l D3, 0x00
00001250 4227 clr.b -[A7]
00001252 486F 0002 pea.l [A7 + 0x2]
00001256 486F 000A pea.l [A7 + 0xA]
0000125A 2F0A move.l -[A7], A2
0000125C 4EAD E838 jsr [A5 - 0x17C8]
00001260 4FEF 000E lea.l A7, [A7 + 0xE]
00001264 6028 bra +0x2A /* 0000128E */
label00001266:
00001266 206F 0004 movea.l A0, [A7 + 0x4]
0000126A 0CA8 544F 5043 004C cmpi.l [A0 + 0x4C], 0x544F5043 /* 'TOPC' */
00001272 661A bne +0x1C /* 0000128E */
00001274 2F2F 0004 move.l -[A7], [A7 + 0x4]
00001278 4EBA 1F48 jsr [PC + 0x1F48 /* 000031C2 */]
0000127C B880 cmp.l D4, D0
0000127E 584F addq.w A7, 4
00001280 660C bne +0xE /* 0000128E */
00001282 206F 0004 movea.l A0, [A7 + 0x4]
00001286 26A8 0054 move.l [A3], [A0 + 0x54]
0000128A 7601 moveq.l D3, 0x01
0000128C 601A bra +0x1C /* 000012A8 */
label0000128E:
0000128E 1F3C 0001 move.b -[A7], 0x1
00001292 486F 0002 pea.l [A7 + 0x2]
00001296 486F 000A pea.l [A7 + 0xA]
0000129A 2F0A move.l -[A7], A2
0000129C 4EAD E838 jsr [A5 - 0x17C8]
000012A0 4A80 tst.l D0
000012A2 4FEF 000E lea.l A7, [A7 + 0xE]
000012A6 66BE bne -0x40 /* 00001266 */
label000012A8:
000012A8 1F3C 0002 move.b -[A7], 0x2
000012AC 486F 0002 pea.l [A7 + 0x2]
000012B0 486F 000A pea.l [A7 + 0xA]
000012B4 2F0A move.l -[A7], A2
000012B6 4EAD E838 jsr [A5 - 0x17C8]
000012BA 2003 move.l D0, D3
000012BC 4FEF 0016 lea.l A7, [A7 + 0x16]
000012C0 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
000012C4 4E75 rts
fn000012C6:
000012C6 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
000012CA 4FEF FE98 lea.l A7, [A7 - 0x168]
000012CE 246F 0190 movea.l A2, [A7 + 0x190]
000012D2 266F 0194 movea.l A3, [A7 + 0x194]
000012D6 362F 0198 move.w D3, [A7 + 0x198]
000012DA 2C2F 019A move.l D6, [A7 + 0x19A]
000012DE 286F 01A2 movea.l A4, [A7 + 0x1A2]
000012E2 2C6F 01AE movea.l A6, [A7 + 0x1AE]
000012E6 2A2F 01B2 move.l D5, [A7 + 0x1B2]
000012EA 7800 moveq.l D4, 0x00
000012EC 2B4E 9D5C move.l [A5 - 0x62A4], A6
000012F0 2F0A move.l -[A7], A2
000012F2 4EAD E408 jsr [A5 - 0x1BF8]
000012F6 4EAD DF98 jsr [A5 - 0x2068]
000012FA 3F6C 0002 0012 move.w [A7 + 0x12], [A4 + 0x2]
00001300 2F54 0008 move.l [A7 + 0x8], [A4]
00001304 2F6C 0004 000C move.l [A7 + 0xC], [A4 + 0x4]
0000130A 4AAF 01AA tst.l [A7 + 0x1AA]
0000130E 584F addq.w A7, 4
00001310 6720 beq +0x22 /* 00001332 */
00001312 302C 0004 move.w D0, [A4 + 0x4]
00001316 48C0 ext.l D0
00001318 5080 addq.l D0, 8
0000131A 3F40 000C move.w [A7 + 0xC], D0
0000131E 486F 000C pea.l [A7 + 0xC]
00001322 A870 syscall LocalToGlobal
00001324 486F 0004 pea.l [A7 + 0x4]
00001328 A870 syscall LocalToGlobal
0000132A 486F 0008 pea.l [A7 + 0x8]
0000132E A870 syscall LocalToGlobal
00001330 6004 bra +0x6 /* 00001336 */
label00001332:
00001332 3F54 000C move.w [A7 + 0xC], [A4]
label00001336:
00001336 3003 move.w D0, D3
00001338 48C0 ext.l D0
0000133A 4A80 tst.l D0
0000133C 6E06 bgt +0x8 /* 00001344 */
0000133E 4EBA 0508 jsr [PC + 0x508 /* 00001848 */]
00001342 3600 move.w D3, D0
label00001344:
00001344 4A85 tst.l D5
00001346 670E beq +0x10 /* 00001356 */
00001348 3003 move.w D0, D3
0000134A 48C0 ext.l D0
0000134C 72F6 moveq.l D1, 0xFFFFFFF6
0000134E D081 add.l D0, D1
00001350 3B40 9D60 move.w [A5 - 0x62A0], D0
00001354 6012 bra +0x14 /* 00001368 */
label00001356:
00001356 302C 0002 move.w D0, [A4 + 0x2]
0000135A 48C0 ext.l D0
0000135C 322C 0006 move.w D1, [A4 + 0x6]
00001360 48C1 ext.l D1
00001362 9280 sub.l D1, D0
00001364 3B41 9D60 move.w [A5 - 0x62A0], D1
label00001368:
00001368 486F 0010 pea.l [A7 + 0x10]
0000136C 2F2F 01AE move.l -[A7], [A7 + 0x1AE]
00001370 4EBA 030A jsr [PC + 0x30A /* 0000167C */]
00001374 302F 001A move.w D0, [A7 + 0x1A]
00001378 48C0 ext.l D0
0000137A 362F 001E move.w D3, [A7 + 0x1E]
0000137E 48C3 ext.l D3
00001380 9680 sub.l D3, D0
00001382 302F 0018 move.w D0, [A7 + 0x18]
00001386 48C0 ext.l D0
00001388 3E2F 001C move.w D7, [A7 + 0x1C]
0000138C 48C7 ext.l D7
0000138E 9E80 sub.l D7, D0
00001390 B66D 9D60 cmp.w D3, [A5 - 0x62A0]
00001394 504F addq.w A7, 8
00001396 6C06 bge +0x8 /* 0000139E */
00001398 3B43 9D60 move.w [A5 - 0x62A0], D3
0000139C 6018 bra +0x1A /* 000013B6 */
label0000139E:
0000139E 4A85 tst.l D5
000013A0 6714 beq +0x16 /* 000013B6 */
000013A2 302D 9D60 move.w D0, [A5 - 0x62A0]
000013A6 48C0 ext.l D0
000013A8 0C80 0000 00FA cmpi.l D0, 0xFA
000013AE 6C06 bge +0x8 /* 000013B6 */
000013B0 3B7C 00FA 9D60 move.w [A5 - 0x62A0], 0xFA
label000013B6:
000013B6 200B move.l D0, A3
000013B8 671E beq +0x20 /* 000013D8 */
000013BA 594F subq.w A7, 4
000013BC 2F0B move.l -[A7], A3
000013BE 4EAD D9AC jsr [A5 - 0x2654]
000013C2 201F move.l D0, [A7]+
000013C4 1F40 0066 move.b [A7 + 0x66], D0
000013C8 7200 moveq.l D1, 0x00
000013CA 1200 move.b D1, D0
000013CC 2001 move.l D0, D1
000013CE 2053 movea.l A0, [A3]
000013D0 43EF 0067 lea.l A1, [A7 + 0x67]
000013D4 A02E syscall BlockMove/BlockMoveData
000013D6 6004 bra +0x6 /* 000013DC */
label000013D8:
000013D8 422F 0066 clr.b [A7 + 0x66]
label000013DC:
000013DC 4AAD B2D8 tst.l [A5 - 0x4D28]
000013E0 6720 beq +0x22 /* 00001402 */
000013E2 1F3C 0011 move.b -[A7], 0x11
000013E6 2F0A move.l -[A7], A2
000013E8 4EAD E818 jsr [A5 - 0x17E8]
000013EC 3610 move.w D3, [A0]
000013EE 486F 0024 pea.l [A7 + 0x24]
000013F2 486F 0026 pea.l [A7 + 0x26]
000013F6 3F03 move.w -[A7], D3
000013F8 4EAD FF00 jsr [A5 - 0x100]
000013FC 4FEF 0010 lea.l A7, [A7 + 0x10]
00001400 6036 bra +0x38 /* 00001438 */
label00001402:
00001402 1F3C 0005 move.b -[A7], 0x5
00001406 2F0A move.l -[A7], A2
00001408 4EAD E818 jsr [A5 - 0x17E8]
0000140C 43EF 0024 lea.l A1, [A7 + 0x24]
00001410 7010 moveq.l D0, 0x10
label00001412:
00001412 22D8 move.l [A1]+, [A0]+
00001414 51C8 FFFC dbf D0, -0x6 /* 00001412 */
00001418 32D8 move.w [A1]+, [A0]+
0000141A 1F3C 0006 move.b -[A7], 0x6
0000141E 2F0A move.l -[A7], A2
00001420 4EAD E818 jsr [A5 - 0x17E8]
00001424 3610 move.w D3, [A0]
00001426 1F3C 0007 move.b -[A7], 0x7
0000142A 2F0A move.l -[A7], A2
0000142C 4EAD E818 jsr [A5 - 0x17E8]
00001430 3F50 002E move.w [A7 + 0x2E], [A0]
00001434 4FEF 0012 lea.l A7, [A7 + 0x12]
label00001438:
00001438 2B46 9D62 move.l [A5 - 0x629E], D6
0000143C 42A7 clr.l -[A7]
0000143E 4878 0001 push.l 0x1
00001442 42A7 clr.l -[A7]
00001444 42A7 clr.l -[A7]
00001446 1F3C 0001 move.b -[A7], 0x1
0000144A 3F2F 002E move.w -[A7], [A7 + 0x2E]
0000144E 3F03 move.w -[A7], D3
00001450 486F 007C pea.l [A7 + 0x7C]
00001454 486F 0038 pea.l [A7 + 0x38]
00001458 4EAD E778 jsr [A5 - 0x1888]
0000145C 2648 movea.l A3, A0
0000145E 2008 move.l D0, A0
00001460 4FEF 001E lea.l A7, [A7 + 0x1E]
00001464 660E bne +0x10 /* 00001474 */
00001466 554F subq.w A7, 2
00001468 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
0000146C 301F move.w D0, [A7]+
0000146E 3800 move.w D4, D0
00001470 6000 00B2 bra +0xB4 /* 00001524 */
label00001474:
00001474 1F3C 000F move.b -[A7], 0xF
00001478 2F0A move.l -[A7], A2
0000147A 4EAD E818 jsr [A5 - 0x17E8]
0000147E 5C4F addq.w A7, 6
00001480 2F10 move.l -[A7], [A0]
00001482 2F0B move.l -[A7], A3
00001484 4EAD E770 jsr [A5 - 0x1890]
00001488 7000 moveq.l D0, 0x00
0000148A 102D 81A0 move.b D0, [A5 - 0x7E60]
0000148E 7202 moveq.l D1, 0x02
00001490 B081 cmp.l D0, D1
00001492 504F addq.w A7, 8
00001494 6D0E blt +0x10 /* 000014A4 */
00001496 200E move.l D0, A6
00001498 670A beq +0xC /* 000014A4 */
0000149A 2F0E move.l -[A7], A6
0000149C 2F0B move.l -[A7], A3
0000149E 4EBA 035C jsr [PC + 0x35C /* 000017FC */]
000014A2 504F addq.w A7, 8
label000014A4:
000014A4 4EBA F976 jsr [PC - 0x68A /* 00000E1C */]
000014A8 486F 0064 pea.l [A7 + 0x64]
000014AC 486F 016A pea.l [A7 + 0x16A]
000014B0 486F 0020 pea.l [A7 + 0x20]
000014B4 2F0B move.l -[A7], A3
000014B6 4EBA 14B2 jsr [PC + 0x14B2 /* 0000296A */]
000014BA 4A85 tst.l D5
000014BC 4FEF 0010 lea.l A7, [A7 + 0x10]
000014C0 672A beq +0x2C /* 000014EC */
000014C2 4AAF 0018 tst.l [A7 + 0x18]
000014C6 6712 beq +0x14 /* 000014DA */
000014C8 302F 0166 move.w D0, [A7 + 0x166]
000014CC B06D 9D60 cmp.w D0, [A5 - 0x62A0]
000014D0 6F52 ble +0x54 /* 00001524 */
000014D2 3B6F 0166 9D60 move.w [A5 - 0x62A0], [A7 + 0x166]
000014D8 604A bra +0x4C /* 00001524 */
label000014DA:
000014DA 302F 0166 move.w D0, [A7 + 0x166]
000014DE 48C0 ext.l D0
000014E0 4A80 tst.l D0
000014E2 6F40 ble +0x42 /* 00001524 */
000014E4 3B6F 0166 9D60 move.w [A5 - 0x62A0], [A7 + 0x166]
000014EA 6038 bra +0x3A /* 00001524 */
label000014EC:
000014EC 3014 move.w D0, [A4]
000014EE 48C0 ext.l D0
000014F0 322C 0004 move.w D1, [A4 + 0x4]
000014F4 48C1 ext.l D1
000014F6 9280 sub.l D1, D0
000014F8 2E81 move.l [A7], D1
000014FA 302F 0064 move.w D0, [A7 + 0x64]
000014FE 48C0 ext.l D0
00001500 B081 cmp.l D0, D1
00001502 6F06 ble +0x8 /* 0000150A */
00001504 3F6F 0002 0064 move.w [A7 + 0x64], [A7 + 0x2]
label0000150A:
0000150A 302F 0166 move.w D0, [A7 + 0x166]
0000150E 48C0 ext.l D0
00001510 4A80 tst.l D0
00001512 6F10 ble +0x12 /* 00001524 */
00001514 302F 0166 move.w D0, [A7 + 0x166]
00001518 B06D 9D60 cmp.w D0, [A5 - 0x62A0]
0000151C 6C06 bge +0x8 /* 00001524 */
0000151E 3B6F 0166 9D60 move.w [A5 - 0x62A0], [A7 + 0x166]
label00001524:
00001524 4A44 tst.w D4
00001526 6720 beq +0x22 /* 00001548 */
00001528 200B move.l D0, A3
0000152A 6708 beq +0xA /* 00001534 */
0000152C 2F0B move.l -[A7], A3
0000152E 4EAD E780 jsr [A5 - 0x1880]
00001532 584F addq.w A7, 4
label00001534:
00001534 3F04 move.w -[A7], D4
00001536 3F3C 0002 move.w -[A7], 0x2
0000153A 4EAD DE98 jsr [A5 - 0x2168]
0000153E 4FEF 016C lea.l A7, [A7 + 0x16C]
00001542 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00001546 4E75 rts
label00001548:
00001548 BE6F 0064 cmp.w D7, [A7 + 0x64]
0000154C 6C04 bge +0x6 /* 00001552 */
0000154E 3F47 0064 move.w [A7 + 0x64], D7
label00001552:
00001552 2F0B move.l -[A7], A3
00001554 3F2D 9D60 move.w -[A7], [A5 - 0x62A0]
00001558 3F2F 006A move.w -[A7], [A7 + 0x6A]
0000155C 4227 clr.b -[A7]
0000155E A91D syscall SizeWindow
00001560 486F 0010 pea.l [A7 + 0x10]
00001564 3F2F 0068 move.w -[A7], [A7 + 0x68]
00001568 3F2D 9D60 move.w -[A7], [A5 - 0x62A0]
0000156C 2F2F 0014 move.l -[A7], [A7 + 0x14]
00001570 2F0B move.l -[A7], A3
00001572 4EBA 0192 jsr [PC + 0x192 /* 00001706 */]
00001576 486F 0014 pea.l [A7 + 0x14]
0000157A 2F0B move.l -[A7], A3
0000157C 4EBA 022A jsr [PC + 0x22A /* 000017A8 */]
00001580 486F 001C pea.l [A7 + 0x1C]
00001584 2F0B move.l -[A7], A3
00001586 4EBA 1482 jsr [PC + 0x1482 /* 00002A0A */]
0000158A 4AAF 01BE tst.l [A7 + 0x1BE]
0000158E 4FEF 0020 lea.l A7, [A7 + 0x20]
00001592 6712 beq +0x14 /* 000015A6 */
00001594 4878 0001 push.l 0x1
00001598 2F2F 01A2 move.l -[A7], [A7 + 0x1A2]
0000159C 2F0B move.l -[A7], A3
0000159E 4EBA 0C4A jsr [PC + 0xC4A /* 000021EA */]
000015A2 4FEF 000C lea.l A7, [A7 + 0xC]
label000015A6:
000015A6 2F0B move.l -[A7], A3
000015A8 4EAD DFA8 jsr [A5 - 0x2058]
000015AC 4FEF 016C lea.l A7, [A7 + 0x16C]
000015B0 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
000015B4 4E75 rts
fn000015B6:
000015B6 202D 9D62 move.l D0, [A5 - 0x629E]
000015BA 4E75 rts
fn000015BC:
000015BC 302D 9D60 move.w D0, [A5 - 0x62A0]
000015C0 4E75 rts
fn000015C2:
000015C2 2F0A move.l -[A7], A2
000015C4 246F 0008 movea.l A2, [A7 + 0x8]
000015C8 4AAD 9D5C tst.l [A5 - 0x62A4]
000015CC 670E beq +0x10 /* 000015DC */
000015CE 206D 9D5C movea.l A0, [A5 - 0x62A4]
000015D2 2490 move.l [A2], [A0]
000015D4 3568 0004 0004 move.w [A2 + 0x4], [A0 + 0x4]
000015DA 6010 bra +0x12 /* 000015EC */
label000015DC:
000015DC 357C FFFF 0004 move.w [A2 + 0x4], 0xFFFF
000015E2 357C FFFF 0002 move.w [A2 + 0x2], 0xFFFF
000015E8 34BC FFFF move.w [A2], 0xFFFF
label000015EC:
000015EC 245F movea.l A2, [A7]+
000015EE 4E75 rts
fn000015F0:
000015F0 514F subq.w A7, 8
000015F2 4A6D B48C tst.w [A5 - 0x4B74]
000015F6 673A beq +0x3C /* 00001632 */
000015F8 2F2F 000C move.l -[A7], [A7 + 0xC]
000015FC 4EAD DD40 jsr [A5 - 0x22C0]
00001600 206F 0010 movea.l A0, [A7 + 0x10]
00001604 2F68 0010 0004 move.l [A7 + 0x4], [A0 + 0x10]
0000160A 2F68 0014 0008 move.l [A7 + 0x8], [A0 + 0x14]
00001610 486F 0004 pea.l [A7 + 0x4]
00001614 A870 syscall LocalToGlobal
00001616 486F 0008 pea.l [A7 + 0x8]
0000161A A870 syscall LocalToGlobal
0000161C 4EAD DD48 jsr [A5 - 0x22B8]
00001620 42A7 clr.l -[A7]
00001622 486F 0008 pea.l [A7 + 0x8]
00001626 2F2F 001C move.l -[A7], [A7 + 0x1C]
0000162A 4EAD DB98 jsr [A5 - 0x2468]
0000162E 4FEF 0010 lea.l A7, [A7 + 0x10]
label00001632:
00001632 504F addq.w A7, 8
00001634 4E75 rts
fn00001636:
00001636 48E7 0038 movem.l -[A7], A2,A3,A4
0000163A 286F 0010 movea.l A4, [A7 + 0x10]
0000163E 594F subq.w A7, 4
00001640 206D 1342 movea.l A0, [A5 + 0x1342 /* export_612 */]
00001644 4E90 jsr [A0]
00001646 205F movea.l A0, [A7]+
00001648 2448 movea.l A2, A0
0000164A 6022 bra +0x24 /* 0000166E */
label0000164C:
0000164C 266A 0090 movea.l A3, [A2 + 0x90]
00001650 302A 006C move.w D0, [A2 + 0x6C]
00001654 B06D B416 cmp.w D0, [A5 - 0x4BEA]
00001658 6612 bne +0x14 /* 0000166C */
0000165A 2F0A move.l -[A7], A2
0000165C 4EAD E848 jsr [A5 - 0x17B8]
00001660 5300 subq.b D0, 1
00001662 584F addq.w A7, 4
00001664 6606 bne +0x8 /* 0000166C */
00001666 2F0A move.l -[A7], A2
00001668 4EAD DF80 jsr [A5 - 0x2080]
label0000166C:
0000166C 244B movea.l A2, A3
label0000166E:
0000166E 200A move.l D0, A2
00001670 6704 beq +0x6 /* 00001676 */
00001672 B5CC cmpa.l A2, A4
00001674 66D6 bne -0x28 /* 0000164C */
label00001676:
00001676 4CDF 1C00 movem.l A2,A3,A4, [A7]+
0000167A 4E75 rts
fn0000167C:
0000167C 48E7 1030 movem.l -[A7], D3,A2,A3
00001680 266F 0014 movea.l A3, [A7 + 0x14]
00001684 95CA sub.l A2, A2
00001686 7000 moveq.l D0, 0x00
00001688 102D 81A0 move.b D0, [A5 - 0x7E60]
0000168C 7202 moveq.l D1, 0x02
0000168E B081 cmp.l D0, D1
00001690 6D4A blt +0x4C /* 000016DC */
00001692 594F subq.w A7, 4
00001694 AA29 syscall GetDeviceList
00001696 205F movea.l A0, [A7]+
00001698 2448 movea.l A2, A0
0000169A 603C bra +0x3E /* 000016D8 */
label0000169C:
0000169C 554F subq.w A7, 2
0000169E 2F2F 0012 move.l -[A7], [A7 + 0x12]
000016A2 2052 movea.l A0, [A2]
000016A4 4868 0022 pea.l [A0 + 0x22]
000016A8 A8AD syscall PtInRect
000016AA 101F move.b D0, [A7]+
000016AC 6720 beq +0x22 /* 000016CE */
000016AE 2052 movea.l A0, [A2]
000016B0 26A8 0022 move.l [A3], [A0 + 0x22]
000016B4 2768 0026 0004 move.l [A3 + 0x4], [A0 + 0x26]
000016BA 594F subq.w A7, 4
000016BC AA2A syscall GetMainDevice
000016BE 205F movea.l A0, [A7]+
000016C0 B5C8 cmpa.l A2, A0
000016C2 57C0 seq D0
000016C4 4400 neg.b D0
000016C6 4880 ext.w D0
000016C8 48C0 ext.l D0
000016CA 2600 move.l D3, D0
000016CC 600E bra +0x10 /* 000016DC */
label000016CE:
000016CE 594F subq.w A7, 4
000016D0 2F0A move.l -[A7], A2
000016D2 AA2B syscall GetNextDevice
000016D4 205F movea.l A0, [A7]+
000016D6 2448 movea.l A2, A0
label000016D8:
000016D8 200A move.l D0, A2
000016DA 66C0 bne -0x3E /* 0000169C */
label000016DC:
000016DC 200A move.l D0, A2
000016DE 660C bne +0xE /* 000016EC */
000016E0 26AD 1584 move.l [A3], [A5 + 0x1584]
000016E4 276D 1588 0004 move.l [A3 + 0x4], [A5 + 0x1588]
000016EA 7601 moveq.l D3, 0x01
label000016EC:
000016EC 4A83 tst.l D3
000016EE 6706 beq +0x8 /* 000016F6 */
000016F0 4EAD E0B0 jsr [A5 - 0x1F50]
000016F4 D153 add.w [A3], D0
label000016F6:
000016F6 2F0B move.l -[A7], A3
000016F8 2F3C 000A 000A move.l -[A7], 0xA000A /* '\n\0\n' */
000016FE A8A9 syscall InsetRect
00001700 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00001704 4E75 rts
fn00001706:
00001706 48E7 1C30 movem.l -[A7], D3,D4,D5,A2,A3
0000170A 266F 0018 movea.l A3, [A7 + 0x18]
0000170E 382F 0020 move.w D4, [A7 + 0x20]
00001712 3A2F 0022 move.w D5, [A7 + 0x22]
00001716 246F 0024 movea.l A2, [A7 + 0x24]
0000171A 362F 001E move.w D3, [A7 + 0x1E]
0000171E 48C3 ext.l D3
00001720 72EC moveq.l D1, 0xFFFFFFEC
00001722 D681 add.l D3, D1
00001724 302A 0006 move.w D0, [A2 + 0x6]
00001728 48C0 ext.l D0
0000172A 3204 move.w D1, D4
0000172C 48C1 ext.l D1
0000172E 3403 move.w D2, D3
00001730 48C2 ext.l D2
00001732 D481 add.l D2, D1
00001734 B480 cmp.l D2, D0
00001736 6F0C ble +0xE /* 00001744 */
00001738 3004 move.w D0, D4
0000173A 48C0 ext.l D0
0000173C 362A 0006 move.w D3, [A2 + 0x6]
00001740 48C3 ext.l D3
00001742 9680 sub.l D3, D0
label00001744:
00001744 B66A 0002 cmp.w D3, [A2 + 0x2]
00001748 6C04 bge +0x6 /* 0000174E */
0000174A 362A 0002 move.w D3, [A2 + 0x2]
label0000174E:
0000174E 382F 001C move.w D4, [A7 + 0x1C]
00001752 302A 0004 move.w D0, [A2 + 0x4]
00001756 48C0 ext.l D0
00001758 3205 move.w D1, D5
0000175A 48C1 ext.l D1
0000175C 3404 move.w D2, D4
0000175E 48C2 ext.l D2
00001760 D481 add.l D2, D1
00001762 B480 cmp.l D2, D0
00001764 6F0C ble +0xE /* 00001772 */
00001766 3005 move.w D0, D5
00001768 48C0 ext.l D0
0000176A 382A 0004 move.w D4, [A2 + 0x4]
0000176E 48C4 ext.l D4
00001770 9880 sub.l D4, D0
label00001772:
00001772 B852 cmp.w D4, [A2]
00001774 6C02 bge +0x4 /* 00001778 */
00001776 3812 move.w D4, [A2]
label00001778:
00001778 2F0B move.l -[A7], A3
0000177A 3F03 move.w -[A7], D3
0000177C 3F04 move.w -[A7], D4
0000177E 1F3C 0001 move.b -[A7], 0x1
00001782 A91B syscall MoveWindow
00001784 3003 move.w D0, D3
00001786 48C0 ext.l D0
00001788 382F 001E move.w D4, [A7 + 0x1E]
0000178C 48C4 ext.l D4
0000178E 9880 sub.l D4, D0
00001790 3004 move.w D0, D4
00001792 48C0 ext.l D0
00001794 7214 moveq.l D1, 0x14
00001796 B081 cmp.l D0, D1
00001798 6C02 bge +0x4 /* 0000179C */
0000179A 7814 moveq.l D4, 0x14
label0000179C:
0000179C 3044 movea.w A0, D4
0000179E 2748 0098 move.l [A3 + 0x98], A0
000017A2 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
000017A6 4E75 rts
fn000017A8:
000017A8 2F0A move.l -[A7], A2
000017AA 514F subq.w A7, 8
000017AC 246F 0010 movea.l A2, [A7 + 0x10]
000017B0 2F0A move.l -[A7], A2
000017B2 4EAD DD40 jsr [A5 - 0x22C0]
000017B6 2F6A 0010 0004 move.l [A7 + 0x4], [A2 + 0x10]
000017BC 2F6A 0014 0008 move.l [A7 + 0x8], [A2 + 0x14]
000017C2 486F 0004 pea.l [A7 + 0x4]
000017C6 A870 syscall LocalToGlobal
000017C8 486F 0008 pea.l [A7 + 0x8]
000017CC A870 syscall LocalToGlobal
000017CE 4EAD DD48 jsr [A5 - 0x22B8]
000017D2 4A6D B48C tst.w [A5 - 0x4B74]
000017D6 584F addq.w A7, 4
000017D8 6714 beq +0x16 /* 000017EE */
000017DA 4878 0001 push.l 0x1
000017DE 486F 0004 pea.l [A7 + 0x4]
000017E2 2F2F 001C move.l -[A7], [A7 + 0x1C]
000017E6 4EAD DB98 jsr [A5 - 0x2468]
000017EA 4FEF 000C lea.l A7, [A7 + 0xC]
label000017EE:
000017EE 2F0A move.l -[A7], A2
000017F0 206D 133E movea.l A0, [A5 + 0x133E]
000017F4 4E90 jsr [A0]
000017F6 504F addq.w A7, 8
000017F8 245F movea.l A2, [A7]+
000017FA 4E75 rts
fn000017FC:
000017FC 514F subq.w A7, 8
000017FE 554F subq.w A7, 2
00001800 42A7 clr.l -[A7]
00001802 486F 0006 pea.l [A7 + 0x6]
00001806 AA42 syscall GetAuxWin
00001808 101F move.b D0, [A7]+
0000180A 4A97 tst.l [A7]
0000180C 6736 beq +0x38 /* 00001844 */
0000180E 2057 movea.l A0, [A7]
00001810 2050 movea.l A0, [A0]
00001812 2F68 0008 0004 move.l [A7 + 0x4], [A0 + 0x8]
00001818 554F subq.w A7, 2
0000181A 486F 0006 pea.l [A7 + 0x6]
0000181E 4EAD DA30 jsr [A5 - 0x25D0]
00001822 301F move.w D0, [A7]+
00001824 661E bne +0x20 /* 00001844 */
00001826 206F 0010 movea.l A0, [A7 + 0x10]
0000182A 226F 0004 movea.l A1, [A7 + 0x4]
0000182E 2251 movea.l A1, [A1]
00001830 2350 000A move.l [A1 + 0xA], [A0]
00001834 3368 0004 000E move.w [A1 + 0xE], [A0 + 0x4]
0000183A 2F2F 000C move.l -[A7], [A7 + 0xC]
0000183E 2F2F 0008 move.l -[A7], [A7 + 0x8]
00001842 AA41 syscall SetWinColor
label00001844:
00001844 504F addq.w A7, 8
00001846 4E75 rts
fn00001848:
00001848 48E7 1020 movem.l -[A7], D3,A2
0000184C 594F subq.w A7, 4
0000184E 206D 1342 movea.l A0, [A5 + 0x1342 /* export_612 */]
00001852 4E90 jsr [A0]
00001854 205F movea.l A0, [A7]+
00001856 2448 movea.l A2, A0
00001858 6038 bra +0x3A /* 00001892 */
label0000185A:
0000185A 302A 006C move.w D0, [A2 + 0x6C]
0000185E B06D B416 cmp.w D0, [A5 - 0x4BEA]
00001862 662A bne +0x2C /* 0000188E */
00001864 2F0A move.l -[A7], A2
00001866 4EAD E848 jsr [A5 - 0x17B8]
0000186A 1600 move.b D3, D0
0000186C 4A03 tst.b D3
0000186E 584F addq.w A7, 4
00001870 6706 beq +0x8 /* 00001878 */
00001872 0C03 0002 cmpi.b D3, 0x2
00001876 6616 bne +0x18 /* 0000188E */
label00001878:
00001878 302A 0012 move.w D0, [A2 + 0x12]
0000187C 48C0 ext.l D0
0000187E 322A 0016 move.w D1, [A2 + 0x16]
00001882 48C1 ext.l D1
00001884 9280 sub.l D1, D0
00001886 3001 move.w D0, D1
00001888 4CDF 0408 movem.l D3,A2, [A7]+
0000188C 4E75 rts
label0000188E:
0000188E 246A 0090 movea.l A2, [A2 + 0x90]
label00001892:
00001892 200A move.l D0, A2
00001894 66C4 bne -0x3A /* 0000185A */
00001896 302D 1586 move.w D0, [A5 + 0x1586]
0000189A 48C0 ext.l D0
0000189C 322D 158A move.w D1, [A5 + 0x158A /* export_685 */]
000018A0 48C1 ext.l D1
000018A2 9280 sub.l D1, D0
000018A4 70F6 moveq.l D0, 0xFFFFFFF6
000018A6 D280 add.l D1, D0
000018A8 3001 move.w D0, D1
000018AA 4CDF 0408 movem.l D3,A2, [A7]+
000018AE 4E75 rts
fn000018B0:
000018B0 206F 0004 movea.l A0, [A7 + 0x4]
000018B4 2050 movea.l A0, [A0]
000018B6 3F28 0016 move.w -[A7], [A0 + 0x16]
000018BA 2F2F 0006 move.l -[A7], [A7 + 0x6]
000018BE 4EBA 03B6 jsr [PC + 0x3B6 /* 00001C76 */]
000018C2 5C4F addq.w A7, 6
000018C4 4E75 rts
fn000018C6:
000018C6 2F0A move.l -[A7], A2
000018C8 1F3C 0003 move.b -[A7], 0x3
000018CC 486D B648 pea.l [A5 - 0x49B8]
000018D0 2F2F 0012 move.l -[A7], [A7 + 0x12]
000018D4 2F2F 0012 move.l -[A7], [A7 + 0x12]
000018D8 4EBA EBB4 jsr [PC - 0x144C /* 0000048E */]
000018DC 2448 movea.l A2, A0
000018DE 200A move.l D0, A2
000018E0 4FEF 000E lea.l A7, [A7 + 0xE]
000018E4 670C beq +0xE /* 000018F2 */
000018E6 4878 0001 push.l 0x1
000018EA 2F0A move.l -[A7], A2
000018EC 4EBA 0480 jsr [PC + 0x480 /* 00001D6E */]
000018F0 504F addq.w A7, 8
label000018F2:
000018F2 204A movea.l A0, A2
000018F4 245F movea.l A2, [A7]+
000018F6 4E75 rts
fn000018F8:
000018F8 4AAF 0004 tst.l [A7 + 0x4]
000018FC 6706 beq +0x8 /* 00001904 */
000018FE 2F2F 0004 move.l -[A7], [A7 + 0x4]
00001902 A955 syscall DisposeControl
label00001904:
00001904 4E75 rts
fn00001906:
00001906 48E7 0030 movem.l -[A7], A2,A3
0000190A 4FEF FFF0 lea.l A7, [A7 - 0x10]
0000190E 246F 001C movea.l A2, [A7 + 0x1C]
00001912 200A move.l D0, A2
00001914 6700 00A2 beq +0xA4 /* 000019B8 */
00001918 2F0A move.l -[A7], A2
0000191A 4EBA FF94 jsr [PC - 0x6C /* 000018B0 */]
0000191E 7200 moveq.l D1, 0x00
00001920 1200 move.b D1, D0
00001922 584F addq.w A7, 4
00001924 4A81 tst.l D1
00001926 6708 beq +0xA /* 00001930 */
00001928 5381 subq.l D1, 1
0000192A 6758 beq +0x5A /* 00001984 */
0000192C 6000 008A bra +0x8C /* 000019B8 */
label00001930:
00001930 2F0A move.l -[A7], A2
00001932 A96D syscall Draw1Control
00001934 2652 movea.l A3, [A2]
00001936 246B 0004 movea.l A2, [A3 + 0x4]
0000193A 2EAB 0008 move.l [A7], [A3 + 0x8]
0000193E 2F6B 000C 0004 move.l [A7 + 0x4], [A3 + 0xC]
00001944 4AAD 83D2 tst.l [A5 - 0x7C2E]
00001948 6726 beq +0x28 /* 00001970 */
0000194A 266A 0018 movea.l A3, [A2 + 0x18]
0000194E 594F subq.w A7, 4
00001950 A8D8 syscall NewRgn
00001952 205F movea.l A0, [A7]+
00001954 2448 movea.l A2, A0
00001956 200A move.l D0, A2
00001958 675E beq +0x60 /* 000019B8 */
0000195A 2F0A move.l -[A7], A2
0000195C 486F 0004 pea.l [A7 + 0x4]
00001960 A8DF syscall RectRgn
00001962 2F0B move.l -[A7], A3
00001964 2F0A move.l -[A7], A2
00001966 2F0B move.l -[A7], A3
00001968 A8E6 syscall DiffRgn
0000196A 2F0A move.l -[A7], A2
0000196C A8D9 syscall DisposRgn/DisposeRgn
0000196E 6048 bra +0x4A /* 000019B8 */
label00001970:
00001970 2F0A move.l -[A7], A2
00001972 4EAD DD40 jsr [A5 - 0x22C0]
00001976 486F 0004 pea.l [A7 + 0x4]
0000197A A92A syscall ValidRect
0000197C 4EAD DD48 jsr [A5 - 0x22B8]
00001980 584F addq.w A7, 4
00001982 6034 bra +0x36 /* 000019B8 */
label00001984:
00001984 2652 movea.l A3, [A2]
00001986 2F6B 0008 0008 move.l [A7 + 0x8], [A3 + 0x8]
0000198C 2F6B 000C 000C move.l [A7 + 0xC], [A3 + 0xC]
00001992 2F2B 0004 move.l -[A7], [A3 + 0x4]
00001996 4EAD DD40 jsr [A5 - 0x22C0]
0000199A 486F 000C pea.l [A7 + 0xC]
0000199E A8A1 syscall FrameRect
000019A0 486F 000C pea.l [A7 + 0xC]
000019A4 2F3C 0001 0001 move.l -[A7], 0x10001
000019AA A8A9 syscall InsetRect
000019AC 486F 000C pea.l [A7 + 0xC]
000019B0 A8A3 syscall EraseRect
000019B2 4EAD DD48 jsr [A5 - 0x22B8]
000019B6 584F addq.w A7, 4
label000019B8:
000019B8 4FEF 0010 lea.l A7, [A7 + 0x10]
000019BC 4CDF 0C00 movem.l A2,A3, [A7]+
000019C0 4E75 rts
fn000019C2:
000019C2 48E7 1C30 movem.l -[A7], D3,D4,D5,A2,A3
000019C6 4FEF FFF0 lea.l A7, [A7 - 0x10]
000019CA 266F 0028 movea.l A3, [A7 + 0x28]
000019CE 3A2F 002C move.w D5, [A7 + 0x2C]
000019D2 382F 002E move.w D4, [A7 + 0x2E]
000019D6 200B move.l D0, A3
000019D8 676A beq +0x6C /* 00001A44 */
000019DA 2F0B move.l -[A7], A3
000019DC 4EBA FED2 jsr [PC - 0x12E /* 000018B0 */]
000019E0 1600 move.b D3, D0
000019E2 2453 movea.l A2, [A3]
000019E4 2F6A 0008 000C move.l [A7 + 0xC], [A2 + 0x8]
000019EA 2F6A 000C 0010 move.l [A7 + 0x10], [A2 + 0xC]
000019F0 3545 000A move.w [A2 + 0xA], D5
000019F4 3544 0008 move.w [A2 + 0x8], D4
000019F8 302F 0034 move.w D0, [A7 + 0x34]
000019FC 48C0 ext.l D0
000019FE 3205 move.w D1, D5
00001A00 48C1 ext.l D1
00001A02 D280 add.l D1, D0
00001A04 3541 000E move.w [A2 + 0xE], D1
00001A08 302F 0036 move.w D0, [A7 + 0x36]
00001A0C 48C0 ext.l D0
00001A0E 3204 move.w D1, D4
00001A10 48C1 ext.l D1
00001A12 D280 add.l D1, D0
00001A14 3541 000C move.w [A2 + 0xC], D1
00001A18 0C03 0002 cmpi.b D3, 0x2
00001A1C 584F addq.w A7, 4
00001A1E 6724 beq +0x26 /* 00001A44 */
00001A20 2EAA 0008 move.l [A7], [A2 + 0x8]
00001A24 2F6A 000C 0004 move.l [A7 + 0x4], [A2 + 0xC]
00001A2A 2F2A 0004 move.l -[A7], [A2 + 0x4]
00001A2E 4EAD DD40 jsr [A5 - 0x22C0]
00001A32 486F 000C pea.l [A7 + 0xC]
00001A36 A928 syscall InvalRect
00001A38 486F 0004 pea.l [A7 + 0x4]
00001A3C A928 syscall InvalRect
00001A3E 4EAD DD48 jsr [A5 - 0x22B8]
00001A42 584F addq.w A7, 4
label00001A44:
00001A44 4FEF 0010 lea.l A7, [A7 + 0x10]
00001A48 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
00001A4C 4E75 rts
fn00001A4E:
00001A4E 48E7 1030 movem.l -[A7], D3,A2,A3
00001A52 246F 0010 movea.l A2, [A7 + 0x10]
00001A56 200A move.l D0, A2
00001A58 6758 beq +0x5A /* 00001AB2 */
00001A5A 2652 movea.l A3, [A2]
00001A5C 7600 moveq.l D3, 0x00
00001A5E 2F0A move.l -[A7], A2
00001A60 4EBA FE4E jsr [PC - 0x1B2 /* 000018B0 */]
00001A64 7200 moveq.l D1, 0x00
00001A66 1200 move.b D1, D0
00001A68 584F addq.w A7, 4
00001A6A 4A81 tst.l D1
00001A6C 671A beq +0x1C /* 00001A88 */
00001A6E 5381 subq.l D1, 1
00001A70 670C beq +0xE /* 00001A7E */
00001A72 5381 subq.l D1, 1
00001A74 6702 beq +0x4 /* 00001A78 */
00001A76 6018 bra +0x1A /* 00001A90 */
label00001A78:
00001A78 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00001A7C 4E75 rts
label00001A7E:
00001A7E 4A2B 0010 tst.b [A3 + 0x10]
00001A82 670C beq +0xE /* 00001A90 */
00001A84 7601 moveq.l D3, 0x01
00001A86 6008 bra +0xA /* 00001A90 */
label00001A88:
00001A88 4A2B 0010 tst.b [A3 + 0x10]
00001A8C 6602 bne +0x4 /* 00001A90 */
00001A8E 7601 moveq.l D3, 0x01
label00001A90:
00001A90 4A83 tst.l D3
00001A92 671E beq +0x20 /* 00001AB2 */
00001A94 4A2B 0010 tst.b [A3 + 0x10]
00001A98 670C beq +0xE /* 00001AA6 */
00001A9A 42A7 clr.l -[A7]
00001A9C 2F0A move.l -[A7], A2
00001A9E 4EBA EB86 jsr [PC - 0x147A /* 00000626 */]
00001AA2 504F addq.w A7, 8
00001AA4 600C bra +0xE /* 00001AB2 */
label00001AA6:
00001AA6 4878 0001 push.l 0x1
00001AAA 2F0A move.l -[A7], A2
00001AAC 4EBA EB78 jsr [PC - 0x1488 /* 00000626 */]
00001AB0 504F addq.w A7, 8
label00001AB2:
00001AB2 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00001AB6 4E75 rts
fn00001AB8:
00001AB8 48E7 1C38 movem.l -[A7], D3,D4,D5,A2,A3,A4
00001ABC 4FEF FFF4 lea.l A7, [A7 - 0xC]
00001AC0 246F 0028 movea.l A2, [A7 + 0x28]
00001AC4 2A2F 002C move.l D5, [A7 + 0x2C]
00001AC8 200A move.l D0, A2
00001ACA 6700 0110 beq +0x112 /* 00001BDC */
00001ACE 2005 move.l D0, D5
00001AD0 223C 0000 7FFF move.l D1, 0x7FFF
00001AD6 4EAD D904 jsr [A5 - 0x26FC]
00001ADA 5280 addq.l D0, 1
00001ADC 2800 move.l D4, D0
00001ADE 2F04 move.l -[A7], D4
00001AE0 2F0A move.l -[A7], A2
00001AE2 4EBA 028A jsr [PC + 0x28A /* 00001D6E */]
00001AE6 2005 move.l D0, D5
00001AE8 2204 move.l D1, D4
00001AEA 4EAD D904 jsr [A5 - 0x26FC]
00001AEE 2F40 0008 move.l [A7 + 0x8], D0
00001AF2 2005 move.l D0, D5
00001AF4 2204 move.l D1, D4
00001AF6 4EAD D910 jsr [A5 - 0x26F0]
00001AFA 4A80 tst.l D0
00001AFC 56C0 sne D0
00001AFE 4400 neg.b D0
00001B00 4880 ext.w D0
00001B02 48C0 ext.l D0
00001B04 D0AF 0008 add.l D0, [A7 + 0x8]
00001B08 3600 move.w D3, D0
00001B0A 2F0A move.l -[A7], A2
00001B0C 4EBA FDA2 jsr [PC - 0x25E /* 000018B0 */]
00001B10 7200 moveq.l D1, 0x00
00001B12 1200 move.b D1, D0
00001B14 4FEF 000C lea.l A7, [A7 + 0xC]
00001B18 4A81 tst.l D1
00001B1A 670C beq +0xE /* 00001B28 */
00001B1C 5381 subq.l D1, 1
00001B1E 6708 beq +0xA /* 00001B28 */
00001B20 5381 subq.l D1, 1
00001B22 677C beq +0x7E /* 00001BA0 */
00001B24 6000 00B6 bra +0xB8 /* 00001BDC */
label00001B28:
00001B28 3F03 move.w -[A7], D3
00001B2A 2F0A move.l -[A7], A2
00001B2C 4EBA 0148 jsr [PC + 0x148 /* 00001C76 */]
00001B30 5500 subq.b D0, 2
00001B32 5C4F addq.w A7, 6
00001B34 6618 bne +0x1A /* 00001B4E */
00001B36 42A7 clr.l -[A7]
00001B38 2F0A move.l -[A7], A2
00001B3A 4EBA EAEA jsr [PC - 0x1516 /* 00000626 */]
00001B3E 3F03 move.w -[A7], D3
00001B40 2F0A move.l -[A7], A2
00001B42 4EBA 01FC jsr [PC + 0x1FC /* 00001D40 */]
00001B46 4FEF 000E lea.l A7, [A7 + 0xE]
00001B4A 6000 0090 bra +0x92 /* 00001BDC */
label00001B4E:
00001B4E 2652 movea.l A3, [A2]
00001B50 286B 0004 movea.l A4, [A3 + 0x4]
00001B54 2F6B 0008 0004 move.l [A7 + 0x4], [A3 + 0x8]
00001B5A 2F6B 000C 0008 move.l [A7 + 0x8], [A3 + 0xC]
00001B60 2F0C move.l -[A7], A4
00001B62 4EAD DD40 jsr [A5 - 0x22C0]
00001B66 486F 0008 pea.l [A7 + 0x8]
00001B6A 4EAD DD50 jsr [A5 - 0x22B0]
00001B6E 486F 000C pea.l [A7 + 0xC]
00001B72 2F0C move.l -[A7], A4
00001B74 4EAD DDA8 jsr [A5 - 0x2258]
00001B78 2F0A move.l -[A7], A2
00001B7A 3F03 move.w -[A7], D3
00001B7C A965 syscall SetControlMaximum/SetMaxCtl
00001B7E 4EAD DD58 jsr [A5 - 0x22A8]
00001B82 4EAD DD48 jsr [A5 - 0x22B8]
00001B86 2052 movea.l A0, [A2]
00001B88 4A28 0010 tst.b [A0 + 0x10]
00001B8C 4FEF 0010 lea.l A7, [A7 + 0x10]
00001B90 664A bne +0x4C /* 00001BDC */
00001B92 4878 0001 push.l 0x1
00001B96 2F0A move.l -[A7], A2
00001B98 4EBA EA8C jsr [PC - 0x1574 /* 00000626 */]
00001B9C 504F addq.w A7, 8
00001B9E 603C bra +0x3E /* 00001BDC */
label00001BA0:
00001BA0 2052 movea.l A0, [A2]
00001BA2 4A28 0010 tst.b [A0 + 0x10]
00001BA6 6608 bne +0xA /* 00001BB0 */
00001BA8 2F0A move.l -[A7], A2
00001BAA 3F03 move.w -[A7], D3
00001BAC A965 syscall SetControlMaximum/SetMaxCtl
00001BAE 600A bra +0xC /* 00001BBA */
label00001BB0:
00001BB0 3F03 move.w -[A7], D3
00001BB2 2F0A move.l -[A7], A2
00001BB4 4EBA 018A jsr [PC + 0x18A /* 00001D40 */]
00001BB8 5C4F addq.w A7, 6
label00001BBA:
00001BBA 3F03 move.w -[A7], D3
00001BBC 2F0A move.l -[A7], A2
00001BBE 4EBA 00B6 jsr [PC + 0xB6 /* 00001C76 */]
00001BC2 1800 move.b D4, D0
00001BC4 4A04 tst.b D4
00001BC6 5C4F addq.w A7, 6
00001BC8 6706 beq +0x8 /* 00001BD0 */
00001BCA 0C04 0001 cmpi.b D4, 0x1
00001BCE 660C bne +0xE /* 00001BDC */
label00001BD0:
00001BD0 4878 0001 push.l 0x1
00001BD4 2F0A move.l -[A7], A2
00001BD6 4EBA EA4E jsr [PC - 0x15B2 /* 00000626 */]
00001BDA 504F addq.w A7, 8
label00001BDC:
00001BDC 4FEF 000C lea.l A7, [A7 + 0xC]
00001BE0 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
00001BE4 4E75 rts
fn00001BE6:
00001BE6 594F subq.w A7, 4
00001BE8 594F subq.w A7, 4
00001BEA 2F2F 000C move.l -[A7], [A7 + 0xC]
00001BEE A95A syscall GetControlReference/GetCRefCon
00001BF0 201F move.l D0, [A7]+
00001BF2 2E80 move.l [A7], D0
00001BF4 554F subq.w A7, 2
00001BF6 2F2F 000A move.l -[A7], [A7 + 0xA]
00001BFA A962 syscall GetControlMaximum/GetMaxCtl
00001BFC 301F move.w D0, [A7]+
00001BFE 48C0 ext.l D0
00001C00 2217 move.l D1, [A7]
00001C02 4EAD D8F8 jsr [A5 - 0x2708]
00001C06 584F addq.w A7, 4
00001C08 4E75 rts
fn00001C0A:
00001C0A 594F subq.w A7, 4
00001C0C 594F subq.w A7, 4
00001C0E 2F2F 000C move.l -[A7], [A7 + 0xC]
00001C12 A95A syscall GetControlReference/GetCRefCon
00001C14 201F move.l D0, [A7]+
00001C16 2E80 move.l [A7], D0
00001C18 554F subq.w A7, 2
00001C1A 2F2F 000A move.l -[A7], [A7 + 0xA]
00001C1E A960 syscall GetControlValue/GetCtlValue
00001C20 301F move.w D0, [A7]+
00001C22 48C0 ext.l D0
00001C24 2217 move.l D1, [A7]
00001C26 4EAD D8F8 jsr [A5 - 0x2708]
00001C2A 584F addq.w A7, 4
00001C2C 4E75 rts
fn00001C2E:
00001C2E 48E7 1820 movem.l -[A7], D3,D4,A2
00001C32 594F subq.w A7, 4
00001C34 246F 0014 movea.l A2, [A7 + 0x14]
00001C38 282F 0018 move.l D4, [A7 + 0x18]
00001C3C 594F subq.w A7, 4
00001C3E 2F0A move.l -[A7], A2
00001C40 A95A syscall GetControlReference/GetCRefCon
00001C42 201F move.l D0, [A7]+
00001C44 2600 move.l D3, D0
00001C46 2F0A move.l -[A7], A2
00001C48 2004 move.l D0, D4
00001C4A 2203 move.l D1, D3
00001C4C 4EAD D904 jsr [A5 - 0x26FC]
00001C50 2F40 0004 move.l [A7 + 0x4], D0
00001C54 2004 move.l D0, D4
00001C56 2203 move.l D1, D3
00001C58 4EAD D910 jsr [A5 - 0x26F0]
00001C5C 4A80 tst.l D0
00001C5E 56C0 sne D0
00001C60 4400 neg.b D0
00001C62 4880 ext.w D0
00001C64 48C0 ext.l D0
00001C66 D0AF 0004 add.l D0, [A7 + 0x4]
00001C6A 3F00 move.w -[A7], D0
00001C6C A963 syscall SetControlValue/SetCtlValue
00001C6E 584F addq.w A7, 4
00001C70 4CDF 0418 movem.l D3,D4,A2, [A7]+
00001C74 4E75 rts
fn00001C76:
00001C76 48E7 0030 movem.l -[A7], A2,A3
00001C7A 266F 000C movea.l A3, [A7 + 0xC]
00001C7E 2453 movea.l A2, [A3]
00001C80 554F subq.w A7, 2
00001C82 2F3C 5653 434C move.l -[A7], 0x5653434C /* 'VSCL' */
00001C88 A80D syscall Count1Resources
00001C8A 301F move.w D0, [A7]+
00001C8C 6714 beq +0x16 /* 00001CA2 */
00001C8E 302A 0008 move.w D0, [A2 + 0x8]
00001C92 48C0 ext.l D0
00001C94 322A 000C move.w D1, [A2 + 0xC]
00001C98 48C1 ext.l D1
00001C9A 9280 sub.l D1, D0
00001C9C 7010 moveq.l D0, 0x10
00001C9E B280 cmp.l D1, D0
00001CA0 6612 bne +0x14 /* 00001CB4 */
label00001CA2:
00001CA2 302F 0010 move.w D0, [A7 + 0x10]
00001CA6 B06A 0014 cmp.w D0, [A2 + 0x14]
00001CAA 6E08 bgt +0xA /* 00001CB4 */
00001CAC 7002 moveq.l D0, 0x02
00001CAE 4CDF 0C00 movem.l A2,A3, [A7]+
00001CB2 4E75 rts
label00001CB4:
00001CB4 2053 movea.l A0, [A3]
00001CB6 2468 0004 movea.l A2, [A0 + 0x4]
00001CBA 4A2A 006F tst.b [A2 + 0x6F]
00001CBE 660A bne +0xC /* 00001CCA */
00001CC0 4A2A 006E tst.b [A2 + 0x6E]
00001CC4 6704 beq +0x6 /* 00001CCA */
00001CC6 7000 moveq.l D0, 0x00
00001CC8 6002 bra +0x4 /* 00001CCC */
label00001CCA:
00001CCA 7001 moveq.l D0, 0x01
label00001CCC:
00001CCC 4A80 tst.l D0
00001CCE 670C beq +0xE /* 00001CDC */
00001CD0 2F0B move.l -[A7], A3
00001CD2 4EBA 0018 jsr [PC + 0x18 /* 00001CEC */]
00001CD6 4A80 tst.l D0
00001CD8 584F addq.w A7, 4
00001CDA 6608 bne +0xA /* 00001CE4 */
label00001CDC:
00001CDC 7001 moveq.l D0, 0x01
00001CDE 4CDF 0C00 movem.l A2,A3, [A7]+
00001CE2 4E75 rts
label00001CE4:
00001CE4 7000 moveq.l D0, 0x00
00001CE6 4CDF 0C00 movem.l A2,A3, [A7]+
00001CEA 4E75 rts
fn00001CEC:
00001CEC 48E7 1020 movem.l -[A7], D3,A2
00001CF0 206F 000C movea.l A0, [A7 + 0xC]
00001CF4 2450 movea.l A2, [A0]
00001CF6 7600 moveq.l D3, 0x00
00001CF8 302A 000A move.w D0, [A2 + 0xA]
00001CFC 48C0 ext.l D0
00001CFE 322A 000E move.w D1, [A2 + 0xE]
00001D02 48C1 ext.l D1
00001D04 9280 sub.l D1, D0
00001D06 7010 moveq.l D0, 0x10
00001D08 B280 cmp.l D1, D0
00001D0A 6610 bne +0x12 /* 00001D1C */
00001D0C 302A 0008 move.w D0, [A2 + 0x8]
00001D10 48C0 ext.l D0
00001D12 362A 000C move.w D3, [A2 + 0xC]
00001D16 48C3 ext.l D3
00001D18 9680 sub.l D3, D0
00001D1A 600E bra +0x10 /* 00001D2A */
label00001D1C:
00001D1C 302A 000A move.w D0, [A2 + 0xA]
00001D20 48C0 ext.l D0
00001D22 362A 000E move.w D3, [A2 + 0xE]
00001D26 48C3 ext.l D3
00001D28 9680 sub.l D3, D0
label00001D2A:
00001D2A 3003 move.w D0, D3
00001D2C 48C0 ext.l D0
00001D2E 7230 moveq.l D1, 0x30
00001D30 B081 cmp.l D0, D1
00001D32 5CC0 sge D0
00001D34 4400 neg.b D0
00001D36 4880 ext.w D0
00001D38 48C0 ext.l D0
00001D3A 4CDF 0408 movem.l D3,A2, [A7]+
00001D3E 4E75 rts
fn00001D40:
00001D40 206F 0004 movea.l A0, [A7 + 0x4]
00001D44 2250 movea.l A1, [A0]
00001D46 336F 0008 0016 move.w [A1 + 0x16], [A7 + 0x8]
00001D4C 3029 0016 move.w D0, [A1 + 0x16]
00001D50 B069 0014 cmp.w D0, [A1 + 0x14]
00001D54 6C06 bge +0x8 /* 00001D5C */
00001D56 3369 0014 0016 move.w [A1 + 0x16], [A1 + 0x14]
label00001D5C:
00001D5C 3029 0012 move.w D0, [A1 + 0x12]
00001D60 B069 0016 cmp.w D0, [A1 + 0x16]
00001D64 6F06 ble +0x8 /* 00001D6C */
00001D66 3369 0016 0012 move.w [A1 + 0x12], [A1 + 0x16]
label00001D6C:
00001D6C 4E75 rts
fn00001D6E:
00001D6E 48E7 1820 movem.l -[A7], D3,D4,A2
00001D72 246F 0010 movea.l A2, [A7 + 0x10]
00001D76 282F 0014 move.l D4, [A7 + 0x14]
00001D7A 594F subq.w A7, 4
00001D7C 2F0A move.l -[A7], A2
00001D7E A95A syscall GetControlReference/GetCRefCon
00001D80 201F move.l D0, [A7]+
00001D82 B880 cmp.l D4, D0
00001D84 6724 beq +0x26 /* 00001DAA */
00001D86 2F0A move.l -[A7], A2
00001D88 4EBA FE80 jsr [PC - 0x180 /* 00001C0A */]
00001D8C 2600 move.l D3, D0
00001D8E 2F0A move.l -[A7], A2
00001D90 2F04 move.l -[A7], D4
00001D92 A95B syscall SetControlReference/SetCRefCon
00001D94 2F0A move.l -[A7], A2
00001D96 4EBA FE72 jsr [PC - 0x18E /* 00001C0A */]
00001D9A B680 cmp.l D3, D0
00001D9C 504F addq.w A7, 8
00001D9E 670A beq +0xC /* 00001DAA */
00001DA0 2F03 move.l -[A7], D3
00001DA2 2F0A move.l -[A7], A2
00001DA4 4EBA FE88 jsr [PC - 0x178 /* 00001C2E */]
00001DA8 504F addq.w A7, 8
label00001DAA:
00001DAA 4CDF 0418 movem.l D3,D4,A2, [A7]+
00001DAE 4E75 rts
00001DB0 206D 9D6E movea.l A0, [A5 - 0x6292]
00001DB4 4E75 rts
00001DB6 2B6F 0004 9D6E move.l [A5 - 0x6292], [A7 + 0x4]
00001DBC 4E75 rts
fn00001DBE:
00001DBE 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
00001DC2 594F subq.w A7, 4
00001DC4 266F 002C movea.l A3, [A7 + 0x2C]
00001DC8 282F 0038 move.l D4, [A7 + 0x38]
00001DCC 7C00 moveq.l D6, 0x00
00001DCE 42A7 clr.l -[A7]
00001DD0 4EBA F864 jsr [PC - 0x79C /* 00001636 */]
00001DD4 1F3C 0006 move.b -[A7], 0x6
00001DD8 2F0B move.l -[A7], A3
00001DDA 4EAD E818 jsr [A5 - 0x17E8]
00001DDE 3610 move.w D3, [A0]
00001DE0 2F04 move.l -[A7], D4
00001DE2 3F03 move.w -[A7], D3
00001DE4 4EAD E8A8 jsr [A5 - 0x1758]
00001DE8 2448 movea.l A2, A0
00001DEA 42A7 clr.l -[A7]
00001DEC 3F03 move.w -[A7], D3
00001DEE 4EAD E2F0 jsr [A5 - 0x1D10]
00001DF2 B880 cmp.l D4, D0
00001DF4 4FEF 0016 lea.l A7, [A7 + 0x16]
00001DF8 662C bne +0x2E /* 00001E26 */
00001DFA 200A move.l D0, A2
00001DFC 6710 beq +0x12 /* 00001E0E */
00001DFE 200A move.l D0, A2
00001E00 6724 beq +0x26 /* 00001E26 */
00001E02 2F0A move.l -[A7], A2
00001E04 4EAD E848 jsr [A5 - 0x17B8]
00001E08 4A00 tst.b D0
00001E0A 584F addq.w A7, 4
00001E0C 6718 beq +0x1A /* 00001E26 */
label00001E0E:
00001E0E 95CA sub.l A2, A2
00001E10 4227 clr.b -[A7]
00001E12 1F3C 000F move.b -[A7], 0xF
00001E16 2F0B move.l -[A7], A3
00001E18 4EAD E818 jsr [A5 - 0x17E8]
00001E1C 5C4F addq.w A7, 6
00001E1E 2F10 move.l -[A7], [A0]
00001E20 4EBA EDB6 jsr [PC - 0x124A /* 00000BD8 */]
00001E24 5C4F addq.w A7, 6
label00001E26:
00001E26 200A move.l D0, A2
00001E28 672C beq +0x2E /* 00001E56 */
00001E2A 2F0A move.l -[A7], A2
00001E2C 206D 133A movea.l A0, [A5 + 0x133A /* export_611 */]
00001E30 4E90 jsr [A0]
00001E32 42A7 clr.l -[A7]
00001E34 42A7 clr.l -[A7]
00001E36 2F2F 003C move.l -[A7], [A7 + 0x3C]
00001E3A 2F2F 003C move.l -[A7], [A7 + 0x3C]
00001E3E 2F0A move.l -[A7], A2
00001E40 4EBA 0734 jsr [PC + 0x734 /* 00002576 */]
00001E44 2F0A move.l -[A7], A2
00001E46 206D 133E movea.l A0, [A5 + 0x133E]
00001E4A 4E90 jsr [A0]
00001E4C 4FEF 0018 lea.l A7, [A7 + 0x18]
00001E50 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00001E54 4E75 rts
label00001E56:
00001E56 2F0B move.l -[A7], A3
00001E58 4EAD E408 jsr [A5 - 0x1BF8]
00001E5C 42A7 clr.l -[A7]
00001E5E 3F03 move.w -[A7], D3
00001E60 4EAD E2F0 jsr [A5 - 0x1D10]
00001E64 B880 cmp.l D4, D0
00001E66 4FEF 000A lea.l A7, [A7 + 0xA]
00001E6A 6704 beq +0x6 /* 00001E70 */
00001E6C 7002 moveq.l D0, 0x02
00001E6E 6002 bra +0x4 /* 00001E72 */
label00001E70:
00001E70 7000 moveq.l D0, 0x00
label00001E72:
00001E72 1A00 move.b D5, D0
00001E74 1F3C 0005 move.b -[A7], 0x5
00001E78 2F0B move.l -[A7], A3
00001E7A 4EAD E818 jsr [A5 - 0x17E8]
00001E7E 2848 movea.l A4, A0
00001E80 1F3C 0007 move.b -[A7], 0x7
00001E84 2F0B move.l -[A7], A3
00001E86 4EAD E818 jsr [A5 - 0x17E8]
00001E8A 2F48 000C move.l [A7 + 0xC], A0
00001E8E 2F04 move.l -[A7], D4
00001E90 3F03 move.w -[A7], D3
00001E92 4EAD E2D0 jsr [A5 - 0x1D30]
00001E96 1E00 move.b D7, D0
00001E98 4A05 tst.b D5
00001E9A 4FEF 0012 lea.l A7, [A7 + 0x12]
00001E9E 6606 bne +0x8 /* 00001EA6 */
00001EA0 2C4C movea.l A6, A4
00001EA2 5C8E addq.l A6, 6
00001EA4 6004 bra +0x6 /* 00001EAA */
label00001EA6:
00001EA6 4DED B64E lea.l A6, [A5 - 0x49B2]
label00001EAA:
00001EAA 2B6F 0030 B64A move.l [A5 - 0x49B6], [A7 + 0x30]
00001EB0 2B6F 0034 9D6A move.l [A5 - 0x6296], [A7 + 0x34]
00001EB6 2B44 9D66 move.l [A5 - 0x629A], D4
00001EBA 42A7 clr.l -[A7]
00001EBC 4878 0001 push.l 0x1
00001EC0 1007 move.b D0, D7
00001EC2 7210 moveq.l D1, 0x10
00001EC4 C081 and.l D0, D1
00001EC6 56C0 sne D0
00001EC8 4400 neg.b D0
00001ECA 4880 ext.w D0
00001ECC 48C0 ext.l D0
00001ECE 2F00 move.l -[A7], D0
00001ED0 4878 0001 push.l 0x1
00001ED4 1F05 move.b -[A7], D5
00001ED6 206F 0012 movea.l A0, [A7 + 0x12]
00001EDA 3F10 move.w -[A7], [A0]
00001EDC 3F03 move.w -[A7], D3
00001EDE 2F0E move.l -[A7], A6
00001EE0 2F0C move.l -[A7], A4
00001EE2 4EAD E778 jsr [A5 - 0x1888]
00001EE6 2448 movea.l A2, A0
00001EE8 1F3C 000F move.b -[A7], 0xF
00001EEC 2F0B move.l -[A7], A3
00001EEE 4EAD E818 jsr [A5 - 0x17E8]
00001EF2 5C4F addq.w A7, 6
00001EF4 2F10 move.l -[A7], [A0]
00001EF6 2F0A move.l -[A7], A2
00001EF8 4EAD E770 jsr [A5 - 0x1890]
00001EFC 70FF moveq.l D0, 0xFFFFFFFF
00001EFE 2B40 B64A move.l [A5 - 0x49B6], D0
00001F02 42AD 9D6A clr.l [A5 - 0x6296]
00001F06 4EBA EF14 jsr [PC - 0x10EC /* 00000E1C */]
00001F0A 200A move.l D0, A2
00001F0C 4FEF 0026 lea.l A7, [A7 + 0x26]
00001F10 6612 bne +0x14 /* 00001F24 */
00001F12 554F subq.w A7, 2
00001F14 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00001F18 301F move.w D0, [A7]+
00001F1A 3C00 move.w D6, D0
00001F1C 584F addq.w A7, 4
00001F1E 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00001F22 4E75 rts
label00001F24:
00001F24 0C05 0002 cmpi.b D5, 0x2
00001F28 6612 bne +0x14 /* 00001F3C */
00001F2A 4AAD 9D6E tst.l [A5 - 0x6292]
00001F2E 6708 beq +0xA /* 00001F38 */
00001F30 2F2D 9D6E move.l -[A7], [A5 - 0x6292]
00001F34 4EAD DF80 jsr [A5 - 0x2080]
label00001F38:
00001F38 2B4A 9D6E move.l [A5 - 0x6292], A2
label00001F3C:
00001F3C 4A46 tst.w D6
00001F3E 670E beq +0x10 /* 00001F4E */
00001F40 3F06 move.w -[A7], D6
00001F42 3F3C 0002 move.w -[A7], 0x2
00001F46 4EAD DE98 jsr [A5 - 0x2168]
00001F4A 584F addq.w A7, 4
00001F4C 6014 bra +0x16 /* 00001F62 */
label00001F4E:
00001F4E 1007 move.b D0, D7
00001F50 7210 moveq.l D1, 0x10
00001F52 C081 and.l D0, D1
00001F54 670C beq +0xE /* 00001F62 */
00001F56 4878 0001 push.l 0x1
00001F5A 2F0A move.l -[A7], A2
00001F5C 4EAD DFC0 jsr [A5 - 0x2040]
00001F60 504F addq.w A7, 8
label00001F62:
00001F62 584F addq.w A7, 4
00001F64 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00001F68 4E75 rts
fn00001F6A:
00001F6A 206F 0004 movea.l A0, [A7 + 0x4]
00001F6E 20AD 9D6A move.l [A0], [A5 - 0x6296]
00001F72 202D B64A move.l D0, [A5 - 0x49B6]
00001F76 4E75 rts
00001F78 202D 9D66 move.l D0, [A5 - 0x629A]
00001F7C 4E75 rts
fn00001F7E:
00001F7E 2F0A move.l -[A7], A2
00001F80 246F 0008 movea.l A2, [A7 + 0x8]
00001F84 200A move.l D0, A2
00001F86 671A beq +0x1C /* 00001FA2 */
00001F88 4878 0008 push.l 0x8
00001F8C 3F3C 0001 move.w -[A7], 0x1
00001F90 4878 0024 push.l 0x24 /* '$' */
00001F94 2F0A move.l -[A7], A2
00001F96 4EAD DE18 jsr [A5 - 0x21E8]
00001F9A 204A movea.l A0, A2
00001F9C A023 syscall DisposHandle/DisposeHandle
00001F9E 4FEF 000E lea.l A7, [A7 + 0xE]
label00001FA2:
00001FA2 245F movea.l A2, [A7]+
00001FA4 4E75 rts
00001FA6 2F0A move.l -[A7], A2
00001FA8 246F 0008 movea.l A2, [A7 + 0x8]
00001FAC 4AAD B650 tst.l [A5 - 0x49B0]
00001FB0 6C1C bge +0x1E /* 00001FCE */
00001FB2 554F subq.w A7, 2
00001FB4 2F3C 4953 454C move.l -[A7], 0x4953454C /* 'ISEL' */
00001FBA A80D syscall Count1Resources
00001FBC 301F move.w D0, [A7]+
00001FBE 48C0 ext.l D0
00001FC0 4A80 tst.l D0
00001FC2 5EC0 sgt D0
00001FC4 4400 neg.b D0
00001FC6 4880 ext.w D0
00001FC8 48C0 ext.l D0
00001FCA 2B40 B650 move.l [A5 - 0x49B0], D0
label00001FCE:
00001FCE 41ED EAB0 lea.l A0, [A5 - 0x1550]
00001FD2 2488 move.l [A2], A0
00001FD4 41ED EAB8 lea.l A0, [A5 - 0x1548]
00001FD8 2548 0004 move.l [A2 + 0x4], A0
00001FDC 41ED EAC8 lea.l A0, [A5 - 0x1538]
00001FE0 2548 0008 move.l [A2 + 0x8], A0
00001FE4 41ED EAC0 lea.l A0, [A5 - 0x1540]
00001FE8 2548 000C move.l [A2 + 0xC], A0
00001FEC 41ED EAF0 lea.l A0, [A5 - 0x1510]
00001FF0 2548 0010 move.l [A2 + 0x10], A0
00001FF4 41ED EAD0 lea.l A0, [A5 - 0x1530]
00001FF8 2548 0018 move.l [A2 + 0x18], A0
00001FFC 41ED EAE8 lea.l A0, [A5 - 0x1518]
00002000 2548 0014 move.l [A2 + 0x14], A0
00002004 41ED EB08 lea.l A0, [A5 - 0x14F8]
00002008 2548 001C move.l [A2 + 0x1C], A0
0000200C 41ED EB10 lea.l A0, [A5 - 0x14F0]
00002010 2548 0020 move.l [A2 + 0x20], A0
00002014 41ED EB18 lea.l A0, [A5 - 0x14E8]
00002018 2548 0024 move.l [A2 + 0x24], A0
0000201C 41ED EB20 lea.l A0, [A5 - 0x14E0]
00002020 2548 0028 move.l [A2 + 0x28], A0
00002024 41ED EB00 lea.l A0, [A5 - 0x1500]
00002028 2548 002C move.l [A2 + 0x2C], A0
0000202C 41ED EAF8 lea.l A0, [A5 - 0x1508]
00002030 2548 0030 move.l [A2 + 0x30], A0
00002034 41ED EB28 lea.l A0, [A5 - 0x14D8]
00002038 2548 0034 move.l [A2 + 0x34], A0
0000203C 41ED EAD8 lea.l A0, [A5 - 0x1528]
00002040 2548 0038 move.l [A2 + 0x38], A0
00002044 41ED EAE0 lea.l A0, [A5 - 0x1520]
00002048 2548 003C move.l [A2 + 0x3C], A0
0000204C 245F movea.l A2, [A7]+
0000204E 4E75 rts
fn00002050:
00002050 48E7 1E3A movem.l -[A7], D3,D4,D5,D6,A2,A3,A4,A6
00002054 2A2F 0024 move.l D5, [A7 + 0x24]
00002058 2C6F 002A movea.l A6, [A7 + 0x2A]
0000205C 286F 002E movea.l A4, [A7 + 0x2E]
00002060 2F05 move.l -[A7], D5
00002062 4EAD DD40 jsr [A5 - 0x22C0]
00002066 4227 clr.b -[A7]
00002068 4878 FF9C push.l 0xFF9C
0000206C 2F05 move.l -[A7], D5
0000206E 4EAD E830 jsr [A5 - 0x17D0]
00002072 2648 movea.l A3, A0
00002074 200B move.l D0, A3
00002076 4FEF 000E lea.l A7, [A7 + 0xE]
0000207A 6700 00C8 beq +0xCA /* 00002144 */
0000207E 4AAB 0050 tst.l [A3 + 0x50]
00002082 6700 00C0 beq +0xC2 /* 00002144 */
00002086 2F2B 0050 move.l -[A7], [A3 + 0x50]
0000208A 4EAD DD80 jsr [A5 - 0x2280]
0000208E 2448 movea.l A2, A0
00002090 2F0A move.l -[A7], A2
00002092 4EBA 43B2 jsr [PC + 0x43B2 /* 00006446 */]
00002096 2600 move.l D3, D0
00002098 2F0A move.l -[A7], A2
0000209A 4EBA 43C8 jsr [PC + 0x43C8 /* 00006464 */]
0000209E 2800 move.l D4, D0
000020A0 206F 003E movea.l A0, [A7 + 0x3E]
000020A4 70FF moveq.l D0, 0xFFFFFFFF
000020A6 2080 move.l [A0], D0
000020A8 7000 moveq.l D0, 0x00
000020AA 102F 0034 move.b D0, [A7 + 0x34]
000020AE 4FEF 000C lea.l A7, [A7 + 0xC]
000020B2 4A80 tst.l D0
000020B4 6706 beq +0x8 /* 000020BC */
000020B6 5380 subq.l D0, 1
000020B8 6708 beq +0xA /* 000020C2 */
000020BA 607C bra +0x7E /* 00002138 */
label000020BC:
000020BC 2C83 move.l [A6], D3
000020BE 2884 move.l [A4], D4
000020C0 6076 bra +0x78 /* 00002138 */
label000020C2:
000020C2 B696 cmp.l D3, [A6]
000020C4 6604 bne +0x6 /* 000020CA */
000020C6 B894 cmp.l D4, [A4]
000020C8 676E beq +0x70 /* 00002138 */
label000020CA:
000020CA 4AAA 0096 tst.l [A2 + 0x96]
000020CE 6768 beq +0x6A /* 00002138 */
000020D0 4AAA 009A tst.l [A2 + 0x9A]
000020D4 6762 beq +0x64 /* 00002138 */
000020D6 2045 movea.l A0, D5
000020D8 4868 0010 pea.l [A0 + 0x10]
000020DC 4EAD DD50 jsr [A5 - 0x22B0]
000020E0 4EAD DF98 jsr [A5 - 0x2068]
000020E4 2F16 move.l -[A7], [A6]
000020E6 2F2A 0096 move.l -[A7], [A2 + 0x96]
000020EA 4EBA FB42 jsr [PC - 0x4BE /* 00001C2E */]
000020EE 2F14 move.l -[A7], [A4]
000020F0 2F2A 009A move.l -[A7], [A2 + 0x9A]
000020F4 4EBA FB38 jsr [PC - 0x4C8 /* 00001C2E */]
000020F8 4EAD DD58 jsr [A5 - 0x22A8]
000020FC 2F2A 0096 move.l -[A7], [A2 + 0x96]
00002100 4EBA FB08 jsr [PC - 0x4F8 /* 00001C0A */]
00002104 2203 move.l D1, D3
00002106 9280 sub.l D1, D0
00002108 2C01 move.l D6, D1
0000210A 2F2A 009A move.l -[A7], [A2 + 0x9A]
0000210E 4EBA FAFA jsr [PC - 0x506 /* 00001C0A */]
00002112 2204 move.l D1, D4
00002114 9280 sub.l D1, D0
00002116 2601 move.l D3, D1
00002118 4A86 tst.l D6
0000211A 4FEF 001C lea.l A7, [A7 + 0x1C]
0000211E 6604 bne +0x6 /* 00002124 */
00002120 4A83 tst.l D3
00002122 6714 beq +0x16 /* 00002138 */
label00002124:
00002124 4878 0001 push.l 0x1
00002128 2F03 move.l -[A7], D3
0000212A 2F06 move.l -[A7], D6
0000212C 2F0A move.l -[A7], A2
0000212E 2F0B move.l -[A7], A3
00002130 4EBA 3594 jsr [PC + 0x3594 /* 000056C6 */]
00002134 4FEF 0014 lea.l A7, [A7 + 0x14]
label00002138:
00002138 2F2B 0050 move.l -[A7], [A3 + 0x50]
0000213C 4EAD DD88 jsr [A5 - 0x2278]
00002140 584F addq.w A7, 4
00002142 6004 bra +0x6 /* 00002148 */
label00002144:
00002144 4294 clr.l [A4]
00002146 4296 clr.l [A6]
label00002148:
00002148 1F3C 0002 move.b -[A7], 0x2
0000214C 42A7 clr.l -[A7]
0000214E 2F05 move.l -[A7], D5
00002150 4EAD E830 jsr [A5 - 0x17D0]
00002154 4EAD DD48 jsr [A5 - 0x22B8]
00002158 4FEF 000A lea.l A7, [A7 + 0xA]
0000215C 4CDF 5C78 movem.l D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
00002160 4E75 rts
00002162 48E7 0030 movem.l -[A7], A2,A3
00002166 266F 000C movea.l A3, [A7 + 0xC]
0000216A 0C2F 0001 0010 cmpi.b [A7 + 0x10], 0x1
00002170 6640 bne +0x42 /* 000021B2 */
00002172 1F3C 0001 move.b -[A7], 0x1
00002176 4878 FF9C push.l 0xFF9C
0000217A 2F0B move.l -[A7], A3
0000217C 4EAD E830 jsr [A5 - 0x17D0]
00002180 2448 movea.l A2, A0
00002182 200A move.l D0, A2
00002184 4FEF 000A lea.l A7, [A7 + 0xA]
00002188 6710 beq +0x12 /* 0000219A */
0000218A 4AAA 0050 tst.l [A2 + 0x50]
0000218E 670A beq +0xC /* 0000219A */
00002190 2F2A 0050 move.l -[A7], [A2 + 0x50]
00002194 4EAD DD88 jsr [A5 - 0x2278]
00002198 584F addq.w A7, 4
label0000219A:
0000219A 1F3C 0002 move.b -[A7], 0x2
0000219E 42A7 clr.l -[A7]
000021A0 2F0B move.l -[A7], A3
000021A2 4EAD E830 jsr [A5 - 0x17D0]
000021A6 91C8 sub.l A0, A0
000021A8 4FEF 000A lea.l A7, [A7 + 0xA]
000021AC 4CDF 0C00 movem.l A2,A3, [A7]+
000021B0 4E75 rts
label000021B2:
000021B2 4227 clr.b -[A7]
000021B4 4878 FF9C push.l 0xFF9C
000021B8 2F0B move.l -[A7], A3
000021BA 4EAD E830 jsr [A5 - 0x17D0]
000021BE 2448 movea.l A2, A0
000021C0 200A move.l D0, A2
000021C2 4FEF 000A lea.l A7, [A7 + 0xA]
000021C6 671A beq +0x1C /* 000021E2 */
000021C8 4AAA 0050 tst.l [A2 + 0x50]
000021CC 6714 beq +0x16 /* 000021E2 */
000021CE 2F2A 0050 move.l -[A7], [A2 + 0x50]
000021D2 4EAD DD80 jsr [A5 - 0x2280]
000021D6 41E8 0048 lea.l A0, [A0 + 0x48]
000021DA 584F addq.w A7, 4
000021DC 4CDF 0C00 movem.l A2,A3, [A7]+
000021E0 4E75 rts
label000021E2:
000021E2 91C8 sub.l A0, A0
000021E4 4CDF 0C00 movem.l A2,A3, [A7]+
000021E8 4E75 rts
fn000021EA:
000021EA 48E7 1C38 movem.l -[A7], D3,D4,D5,A2,A3,A4
000021EE 594F subq.w A7, 4
000021F0 286F 0020 movea.l A4, [A7 + 0x20]
000021F4 2A2F 0024 move.l D5, [A7 + 0x24]
000021F8 7600 moveq.l D3, 0x00
000021FA 2F0C move.l -[A7], A4
000021FC 4EAD DD40 jsr [A5 - 0x22C0]
00002200 4227 clr.b -[A7]
00002202 4878 FF9C push.l 0xFF9C
00002206 2F0C move.l -[A7], A4
00002208 4EAD E830 jsr [A5 - 0x17D0]
0000220C 2448 movea.l A2, A0
0000220E 200A move.l D0, A2
00002210 4FEF 000E lea.l A7, [A7 + 0xE]
00002214 6700 00B6 beq +0xB8 /* 000022CC */
00002218 4AAA 0050 tst.l [A2 + 0x50]
0000221C 6700 00AE beq +0xB0 /* 000022CC */
00002220 2F2A 0050 move.l -[A7], [A2 + 0x50]
00002224 4EAD DD80 jsr [A5 - 0x2280]
00002228 2648 movea.l A3, A0
0000222A 4A85 tst.l D5
0000222C 584F addq.w A7, 4
0000222E 677C beq +0x7E /* 000022AC */
00002230 1F3C 0001 move.b -[A7], 0x1
00002234 2F0C move.l -[A7], A4
00002236 4EAD E818 jsr [A5 - 0x17E8]
0000223A 2610 move.l D3, [A0]
0000223C 1F3C 0006 move.b -[A7], 0x6
00002240 2F0C move.l -[A7], A4
00002242 4EAD E818 jsr [A5 - 0x17E8]
00002246 3810 move.w D4, [A0]
00002248 486F 000C pea.l [A7 + 0xC]
0000224C 2F03 move.l -[A7], D3
0000224E 3F04 move.w -[A7], D4
00002250 4EAD E1F0 jsr [A5 - 0x1E10]
00002254 4A40 tst.w D0
00002256 4FEF 0016 lea.l A7, [A7 + 0x16]
0000225A 6666 bne +0x68 /* 000022C2 */
0000225C 4AAF 0028 tst.l [A7 + 0x28]
00002260 6710 beq +0x12 /* 00002272 */
00002262 4878 0001 push.l 0x1
00002266 2F0B move.l -[A7], A3
00002268 2F0A move.l -[A7], A2
0000226A 4EBA 383C jsr [PC + 0x383C /* 00005AA8 */]
0000226E 4FEF 000C lea.l A7, [A7 + 0xC]
label00002272:
00002272 2057 movea.l A0, [A7]
00002274 A04A syscall HNoPurge
00002276 42A7 clr.l -[A7]
00002278 2F05 move.l -[A7], D5
0000227A 2F2B 0092 move.l -[A7], [A3 + 0x92]
0000227E 2F2B 0076 move.l -[A7], [A3 + 0x76]
00002282 2F2F 0010 move.l -[A7], [A7 + 0x10]
00002286 4EAD DAD2 jsr [A5 - 0x252E]
0000228A 206F 0014 movea.l A0, [A7 + 0x14]
0000228E A049 syscall HPurge
00002290 42A7 clr.l -[A7]
00002292 4878 0001 push.l 0x1
00002296 4878 0001 push.l 0x1
0000229A 1F3C 0001 move.b -[A7], 0x1
0000229E 2F0B move.l -[A7], A3
000022A0 2F0A move.l -[A7], A2
000022A2 4EBA 31E0 jsr [PC + 0x31E0 /* 00005484 */]
000022A6 4FEF 002A lea.l A7, [A7 + 0x2A]
000022AA 6016 bra +0x18 /* 000022C2 */
label000022AC:
000022AC 42A7 clr.l -[A7]
000022AE 4878 0001 push.l 0x1
000022B2 42A7 clr.l -[A7]
000022B4 42A7 clr.l -[A7]
000022B6 2F0B move.l -[A7], A3
000022B8 2F0A move.l -[A7], A2
000022BA 4EBA 327A jsr [PC + 0x327A /* 00005536 */]
000022BE 4FEF 0018 lea.l A7, [A7 + 0x18]
label000022C2:
000022C2 2F2A 0050 move.l -[A7], [A2 + 0x50]
000022C6 4EAD DD88 jsr [A5 - 0x2278]
000022CA 584F addq.w A7, 4
label000022CC:
000022CC 1F3C 0002 move.b -[A7], 0x2
000022D0 42A7 clr.l -[A7]
000022D2 2F0C move.l -[A7], A4
000022D4 4EAD E830 jsr [A5 - 0x17D0]
000022D8 4EAD DD48 jsr [A5 - 0x22B8]
000022DC 4FEF 000E lea.l A7, [A7 + 0xE]
000022E0 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
000022E4 4E75 rts
000022E6 48E7 183A movem.l -[A7], D3,D4,A2,A3,A4,A6
000022EA 4FEF FFE0 lea.l A7, [A7 - 0x20]
000022EE 2C6F 003C movea.l A6, [A7 + 0x3C]
000022F2 246F 0040 movea.l A2, [A7 + 0x40]
000022F6 7800 moveq.l D4, 0x00
000022F8 2F0E move.l -[A7], A6
000022FA 4EAD DD40 jsr [A5 - 0x22C0]
000022FE 4227 clr.b -[A7]
00002300 4878 FF9C push.l 0xFF9C
00002304 2F0E move.l -[A7], A6
00002306 4EAD E830 jsr [A5 - 0x17D0]
0000230A 2848 movea.l A4, A0
0000230C 200C move.l D0, A4
0000230E 4FEF 000E lea.l A7, [A7 + 0xE]
00002312 6700 0126 beq +0x128 /* 0000243A */
00002316 4AAC 0050 tst.l [A4 + 0x50]
0000231A 6700 011E beq +0x120 /* 0000243A */
0000231E 2F2C 0050 move.l -[A7], [A4 + 0x50]
00002322 4EAD DD80 jsr [A5 - 0x2280]
00002326 2648 movea.l A3, A0
00002328 2F52 001C move.l [A7 + 0x1C], [A2]
0000232C 2F6A 0004 0020 move.l [A7 + 0x20], [A2 + 0x4]
00002332 486F 001C pea.l [A7 + 0x1C]
00002336 A8AE syscall EmptyRect
00002338 101F move.b D0, [A7]+
0000233A 544F addq.w A7, 2
0000233C 6618 bne +0x1A /* 00002356 */
0000233E 554F subq.w A7, 2
00002340 206C 0048 movea.l A0, [A4 + 0x48]
00002344 4868 0010 pea.l [A0 + 0x10]
00002348 486A 0008 pea.l [A2 + 0x8]
0000234C A8A6 syscall EqualRect
0000234E 101F move.b D0, [A7]+
00002350 6704 beq +0x6 /* 00002356 */
00002352 7601 moveq.l D3, 0x01
00002354 6002 bra +0x4 /* 00002358 */
label00002356:
00002356 7600 moveq.l D3, 0x00
label00002358:
00002358 082B 0006 00AE btst.b [A3 + 0xAE], 0x6
0000235E 6766 beq +0x68 /* 000023C6 */
00002360 4A83 tst.l D3
00002362 6762 beq +0x64 /* 000023C6 */
00002364 4A6D B48C tst.w [A5 - 0x4B74]
00002368 675C beq +0x5E /* 000023C6 */
0000236A 2F6F 0018 0010 move.l [A7 + 0x10], [A7 + 0x18]
00002370 2F6F 001C 0014 move.l [A7 + 0x14], [A7 + 0x1C]
00002376 2F2A 0014 move.l -[A7], [A2 + 0x14]
0000237A 42A7 clr.l -[A7]
0000237C 486F 0018 pea.l [A7 + 0x18]
00002380 2F0B move.l -[A7], A3
00002382 2F0C move.l -[A7], A4
00002384 4EBA 34F6 jsr [PC + 0x34F6 /* 0000587C */]
00002388 4EAD DD70 jsr [A5 - 0x2290]
0000238C 486B 0018 pea.l [A3 + 0x18]
00002390 2F0C move.l -[A7], A4
00002392 4EBA 4D34 jsr [PC + 0x4D34 /* 000070C8 */]
00002396 4227 clr.b -[A7]
00002398 2F0B move.l -[A7], A3
0000239A 2F0C move.l -[A7], A4
0000239C 4EBA 4644 jsr [PC + 0x4644 /* 000069E2 */]
000023A0 2F6F 0036 002E move.l [A7 + 0x2E], [A7 + 0x36]
000023A6 2F6F 003A 0032 move.l [A7 + 0x32], [A7 + 0x3A]
000023AC 42A7 clr.l -[A7]
000023AE 486B 0018 pea.l [A3 + 0x18]
000023B2 486F 0036 pea.l [A7 + 0x36]
000023B6 4EAD DBA4 jsr [A5 - 0x245C]
000023BA 4EAD DD58 jsr [A5 - 0x22A8]
000023BE 4EAD DD78 jsr [A5 - 0x2288]
000023C2 4FEF 0032 lea.l A7, [A7 + 0x32]
label000023C6:
000023C6 4878 0001 push.l 0x1
000023CA 42A7 clr.l -[A7]
000023CC 1F3C 0001 move.b -[A7], 0x1
000023D0 3F2A 001A move.w -[A7], [A2 + 0x1A]
000023D4 3F2A 0018 move.w -[A7], [A2 + 0x18]
000023D8 2F2A 0010 move.l -[A7], [A2 + 0x10]
000023DC 2F0B move.l -[A7], A3
000023DE 2F0C move.l -[A7], A4
000023E0 4EBA 225E jsr [PC + 0x225E /* 00004640 */]
000023E4 3800 move.w D4, D0
000023E6 4FEF 001A lea.l A7, [A7 + 0x1A]
000023EA 670C beq +0xE /* 000023F8 */
000023EC 3004 move.w D0, D4
000023EE 4FEF 0020 lea.l A7, [A7 + 0x20]
000023F2 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
000023F6 4E75 rts
label000023F8:
000023F8 4AAA 001C tst.l [A2 + 0x1C]
000023FC 6D12 blt +0x14 /* 00002410 */
000023FE 4878 0001 push.l 0x1
00002402 2F2A 001C move.l -[A7], [A2 + 0x1C]
00002406 2F0E move.l -[A7], A6
00002408 4EBA FDE0 jsr [PC - 0x220 /* 000021EA */]
0000240C 4FEF 000C lea.l A7, [A7 + 0xC]
label00002410:
00002410 4A83 tst.l D3
00002412 671C beq +0x1E /* 00002430 */
00002414 2EAF 0018 move.l [A7], [A7 + 0x18]
00002418 2F6F 001C 0004 move.l [A7 + 0x4], [A7 + 0x1C]
0000241E 3F2A 0016 move.w -[A7], [A2 + 0x16]
00002422 486F 0002 pea.l [A7 + 0x2]
00002426 2F0E move.l -[A7], A6
00002428 4EAD DF90 jsr [A5 - 0x2070]
0000242C 4FEF 000A lea.l A7, [A7 + 0xA]
label00002430:
00002430 2F2C 0050 move.l -[A7], [A4 + 0x50]
00002434 4EAD DD88 jsr [A5 - 0x2278]
00002438 584F addq.w A7, 4
label0000243A:
0000243A 1F3C 0002 move.b -[A7], 0x2
0000243E 42A7 clr.l -[A7]
00002440 2F0E move.l -[A7], A6
00002442 4EAD E830 jsr [A5 - 0x17D0]
00002446 4EAD DD48 jsr [A5 - 0x22B8]
0000244A 3004 move.w D0, D4
0000244C 4FEF 002A lea.l A7, [A7 + 0x2A]
00002450 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
00002454 4E75 rts
fn00002456:
00002456 48E7 1C30 movem.l -[A7], D3,D4,D5,A2,A3
0000245A 514F subq.w A7, 8
0000245C 266F 0020 movea.l A3, [A7 + 0x20]
00002460 262F 0024 move.l D3, [A7 + 0x24]
00002464 2A2F 0028 move.l D5, [A7 + 0x28]
00002468 7800 moveq.l D4, 0x00
0000246A 2F0B move.l -[A7], A3
0000246C 4EAD DD40 jsr [A5 - 0x22C0]
00002470 4227 clr.b -[A7]
00002472 486F 0006 pea.l [A7 + 0x6]
00002476 486F 000E pea.l [A7 + 0xE]
0000247A 2F0B move.l -[A7], A3
0000247C 4EAD E838 jsr [A5 - 0x17C8]
00002480 4FEF 0012 lea.l A7, [A7 + 0x12]
00002484 6000 009A bra +0x9C /* 00002520 */
label00002488:
00002488 206F 0004 movea.l A0, [A7 + 0x4]
0000248C BAA8 0054 cmp.l D5, [A0 + 0x54]
00002490 6600 008E bne +0x90 /* 00002520 */
00002494 2048 movea.l A0, A0
00002496 4AA8 0050 tst.l [A0 + 0x50]
0000249A 6700 00A0 beq +0xA2 /* 0000253C */
0000249E 206F 0004 movea.l A0, [A7 + 0x4]
000024A2 2F28 0050 move.l -[A7], [A0 + 0x50]
000024A6 4EAD DD80 jsr [A5 - 0x2280]
000024AA 2448 movea.l A2, A0
000024AC B6AA 003C cmp.l D3, [A2 + 0x3C]
000024B0 584F addq.w A7, 4
000024B2 675C beq +0x5E /* 00002510 */
000024B4 256A 0026 0010 move.l [A2 + 0x10], [A2 + 0x26]
000024BA 256A 002A 0014 move.l [A2 + 0x14], [A2 + 0x2A]
000024C0 4878 0001 push.l 0x1
000024C4 42A7 clr.l -[A7]
000024C6 1F3C 0002 move.b -[A7], 0x2
000024CA 42A7 clr.l -[A7]
000024CC 2F03 move.l -[A7], D3
000024CE 2F0A move.l -[A7], A2
000024D0 2F2F 001A move.l -[A7], [A7 + 0x1A]
000024D4 4EBA 216A jsr [PC + 0x216A /* 00004640 */]
000024D8 3800 move.w D4, D0
000024DA 2543 003C move.l [A2 + 0x3C], D3
000024DE 2F0A move.l -[A7], A2
000024E0 4EBA 4E8E jsr [PC + 0x4E8E /* 00007370 */]
000024E4 256A 0010 0018 move.l [A2 + 0x18], [A2 + 0x10]
000024EA 256A 0014 001C move.l [A2 + 0x1C], [A2 + 0x14]
000024F0 2F0A move.l -[A7], A2
000024F2 2F2F 0026 move.l -[A7], [A7 + 0x26]
000024F6 4EBA 37DC jsr [PC + 0x37DC /* 00005CD4 */]
000024FA 1F3C 0002 move.b -[A7], 0x2
000024FE 486A 0018 pea.l [A2 + 0x18]
00002502 2F0A move.l -[A7], A2
00002504 2F2F 0034 move.l -[A7], [A7 + 0x34]
00002508 4EBA 26C6 jsr [PC + 0x26C6 /* 00004BD0 */]
0000250C 4FEF 0034 lea.l A7, [A7 + 0x34]
label00002510:
00002510 206F 0004 movea.l A0, [A7 + 0x4]
00002514 2F28 0050 move.l -[A7], [A0 + 0x50]
00002518 4EAD DD88 jsr [A5 - 0x2278]
0000251C 584F addq.w A7, 4
0000251E 601C bra +0x1E /* 0000253C */
label00002520:
00002520 1F3C 0001 move.b -[A7], 0x1
00002524 486F 0002 pea.l [A7 + 0x2]
00002528 486F 000A pea.l [A7 + 0xA]
0000252C 2F0B move.l -[A7], A3
0000252E 4EAD E838 jsr [A5 - 0x17C8]
00002532 4A80 tst.l D0
00002534 4FEF 000E lea.l A7, [A7 + 0xE]
00002538 6600 FF4E bne -0xB0 /* 00002488 */
label0000253C:
0000253C 1F3C 0002 move.b -[A7], 0x2
00002540 486F 0002 pea.l [A7 + 0x2]
00002544 486F 000A pea.l [A7 + 0xA]
00002548 2F0B move.l -[A7], A3
0000254A 4EAD E838 jsr [A5 - 0x17C8]
0000254E 4A44 tst.w D4
00002550 4FEF 000E lea.l A7, [A7 + 0xE]
00002554 6712 beq +0x14 /* 00002568 */
00002556 3F04 move.w -[A7], D4
00002558 3F3C 0002 move.w -[A7], 0x2
0000255C 4EAD DE98 jsr [A5 - 0x2168]
00002560 486B 0010 pea.l [A3 + 0x10]
00002564 A928 syscall InvalRect
00002566 584F addq.w A7, 4
label00002568:
00002568 4EAD DD48 jsr [A5 - 0x22B8]
0000256C 3004 move.w D0, D4
0000256E 504F addq.w A7, 8
00002570 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
00002574 4E75 rts
fn00002576:
00002576 48E7 1C38 movem.l -[A7], D3,D4,D5,A2,A3,A4
0000257A 266F 001C movea.l A3, [A7 + 0x1C]
0000257E 2A2F 0024 move.l D5, [A7 + 0x24]
00002582 7600 moveq.l D3, 0x00
00002584 2F0B move.l -[A7], A3
00002586 4EAD DD40 jsr [A5 - 0x22C0]
0000258A 4227 clr.b -[A7]
0000258C 4878 FF9C push.l 0xFF9C
00002590 2F0B move.l -[A7], A3
00002592 4EAD E830 jsr [A5 - 0x17D0]
00002596 2448 movea.l A2, A0
00002598 200A move.l D0, A2
0000259A 4FEF 000E lea.l A7, [A7 + 0xE]
0000259E 6758 beq +0x5A /* 000025F8 */
000025A0 4AAA 0050 tst.l [A2 + 0x50]
000025A4 6752 beq +0x54 /* 000025F8 */
000025A6 7801 moveq.l D4, 0x01
000025A8 2F2A 0050 move.l -[A7], [A2 + 0x50]
000025AC 4EAD DD80 jsr [A5 - 0x2280]
000025B0 2848 movea.l A4, A0
000025B2 4878 0001 push.l 0x1
000025B6 2F2F 0034 move.l -[A7], [A7 + 0x34]
000025BA 1F04 move.b -[A7], D4
000025BC 3F2F 0038 move.w -[A7], [A7 + 0x38]
000025C0 3F2F 0038 move.w -[A7], [A7 + 0x38]
000025C4 2F2F 0032 move.l -[A7], [A7 + 0x32]
000025C8 2F0C move.l -[A7], A4
000025CA 2F0A move.l -[A7], A2
000025CC 4EBA 2072 jsr [PC + 0x2072 /* 00004640 */]
000025D0 3600 move.w D3, D0
000025D2 4A43 tst.w D3
000025D4 4FEF 001E lea.l A7, [A7 + 0x1E]
000025D8 6614 bne +0x16 /* 000025EE */
000025DA 4A85 tst.l D5
000025DC 6D10 blt +0x12 /* 000025EE */
000025DE 4878 0001 push.l 0x1
000025E2 2F05 move.l -[A7], D5
000025E4 2F0B move.l -[A7], A3
000025E6 4EBA FC02 jsr [PC - 0x3FE /* 000021EA */]
000025EA 4FEF 000C lea.l A7, [A7 + 0xC]
label000025EE:
000025EE 2F2A 0050 move.l -[A7], [A2 + 0x50]
000025F2 4EAD DD88 jsr [A5 - 0x2278]
000025F6 584F addq.w A7, 4
label000025F8:
000025F8 1F3C 0002 move.b -[A7], 0x2
000025FC 42A7 clr.l -[A7]
000025FE 2F0B move.l -[A7], A3
00002600 4EAD E830 jsr [A5 - 0x17D0]
00002604 4A43 tst.w D3
00002606 4FEF 000A lea.l A7, [A7 + 0xA]
0000260A 6712 beq +0x14 /* 0000261E */
0000260C 3F03 move.w -[A7], D3
0000260E 3F3C 0002 move.w -[A7], 0x2
00002612 4EAD DE98 jsr [A5 - 0x2168]
00002616 486B 0010 pea.l [A3 + 0x10]
0000261A A928 syscall InvalRect
0000261C 584F addq.w A7, 4
label0000261E:
0000261E 4EAD DD48 jsr [A5 - 0x22B8]
00002622 3003 move.w D0, D3
00002624 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
00002628 4E75 rts
0000262A 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
0000262E 246F 0018 movea.l A2, [A7 + 0x18]
00002632 282F 001C move.l D4, [A7 + 0x1C]
00002636 4AAD 8D1E tst.l [A5 - 0x72E2]
0000263A 6724 beq +0x26 /* 00002660 */
0000263C 1F3C 0001 move.b -[A7], 0x1
00002640 2F0A move.l -[A7], A2
00002642 4EAD E818 jsr [A5 - 0x17E8]
00002646 2648 movea.l A3, A0
00002648 42A7 clr.l -[A7]
0000264A 42A7 clr.l -[A7]
0000264C 42A7 clr.l -[A7]
0000264E 2013 move.l D0, [A3]
00002650 D084 add.l D0, D4
00002652 2F00 move.l -[A7], D0
00002654 2F0A move.l -[A7], A2
00002656 4EBA FF1E jsr [PC - 0xE2 /* 00002576 */]
0000265A 4FEF 001A lea.l A7, [A7 + 0x1A]
0000265E 6052 bra +0x54 /* 000026B2 */
label00002660:
00002660 1F3C 0002 move.b -[A7], 0x2
00002664 2F0A move.l -[A7], A2
00002666 4EAD E818 jsr [A5 - 0x17E8]
0000266A 2610 move.l D3, [A0]
0000266C 1F3C 0003 move.b -[A7], 0x3
00002670 2F0A move.l -[A7], A2
00002672 4EAD E818 jsr [A5 - 0x17E8]
00002676 2848 movea.l A4, A0
00002678 2F03 move.l -[A7], D3
0000267A 1F3C 0006 move.b -[A7], 0x6
0000267E 2F0A move.l -[A7], A2
00002680 4EAD E818 jsr [A5 - 0x17E8]
00002684 5C4F addq.w A7, 6
00002686 3F10 move.w -[A7], [A0]
00002688 4EAD E1A8 jsr [A5 - 0x1E58]
0000268C 2648 movea.l A3, A0
0000268E 200B move.l D0, A3
00002690 4FEF 0012 lea.l A7, [A7 + 0x12]
00002694 671C beq +0x1E /* 000026B2 */
00002696 42A7 clr.l -[A7]
00002698 42A7 clr.l -[A7]
0000269A 42A7 clr.l -[A7]
0000269C D994 add.l [A4], D4
0000269E 2014 move.l D0, [A4]
000026A0 E588 lsl D0, 2
000026A2 2053 movea.l A0, [A3]
000026A4 2F30 0800 move.l -[A7], [A0 + D0]
000026A8 2F0A move.l -[A7], A2
000026AA 4EBA FECA jsr [PC - 0x136 /* 00002576 */]
000026AE 4FEF 0014 lea.l A7, [A7 + 0x14]
label000026B2:
000026B2 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
000026B6 4E75 rts
000026B8 48E7 0030 movem.l -[A7], A2,A3
000026BC 4FEF FFF6 lea.l A7, [A7 - 0xA]
000026C0 266F 0016 movea.l A3, [A7 + 0x16]
000026C4 4257 clr.w [A7]
000026C6 2F0B move.l -[A7], A3
000026C8 4EAD DD40 jsr [A5 - 0x22C0]
000026CC 4227 clr.b -[A7]
000026CE 4878 FF9C push.l 0xFF9C
000026D2 2F0B move.l -[A7], A3
000026D4 4EAD E830 jsr [A5 - 0x17D0]
000026D8 2448 movea.l A2, A0
000026DA 200A move.l D0, A2
000026DC 4FEF 000E lea.l A7, [A7 + 0xE]
000026E0 673C beq +0x3E /* 0000271E */
000026E2 4AAA 0050 tst.l [A2 + 0x50]
000026E6 6736 beq +0x38 /* 0000271E */
000026E8 206F 001A movea.l A0, [A7 + 0x1A]
000026EC 2F50 0002 move.l [A7 + 0x2], [A0]
000026F0 2F68 0004 0006 move.l [A7 + 0x6], [A0 + 0x4]
000026F6 42A7 clr.l -[A7]
000026F8 486F 0006 pea.l [A7 + 0x6]
000026FC 2F2F 0026 move.l -[A7], [A7 + 0x26]
00002700 2F2A 0050 move.l -[A7], [A2 + 0x50]
00002704 4EAD DD80 jsr [A5 - 0x2280]
00002708 584F addq.w A7, 4
0000270A 2F08 move.l -[A7], A0
0000270C 2F0A move.l -[A7], A2
0000270E 4EBA 3D72 jsr [PC + 0x3D72 /* 00006482 */]
00002712 2F2A 0050 move.l -[A7], [A2 + 0x50]
00002716 4EAD DD88 jsr [A5 - 0x2278]
0000271A 4FEF 0018 lea.l A7, [A7 + 0x18]
label0000271E:
0000271E 1F3C 0002 move.b -[A7], 0x2
00002722 42A7 clr.l -[A7]
00002724 2F0B move.l -[A7], A3
00002726 4EAD E830 jsr [A5 - 0x17D0]
0000272A 4EAD DD48 jsr [A5 - 0x22B8]
0000272E 4FEF 0014 lea.l A7, [A7 + 0x14]
00002732 4CDF 0C00 movem.l A2,A3, [A7]+
00002736 4E75 rts
00002738 48E7 1C3A movem.l -[A7], D3,D4,D5,A2,A3,A4,A6
0000273C 4FEF FFDC lea.l A7, [A7 - 0x24]
00002740 246F 0044 movea.l A2, [A7 + 0x44]
00002744 266F 0048 movea.l A3, [A7 + 0x48]
00002748 2A2F 004C move.l D5, [A7 + 0x4C]
0000274C 2C6F 0050 movea.l A6, [A7 + 0x50]
00002750 286F 0054 movea.l A4, [A7 + 0x54]
00002754 594F subq.w A7, 4
00002756 2F0A move.l -[A7], A2
00002758 4EAD D9AC jsr [A5 - 0x2654]
0000275C 201F move.l D0, [A7]+
0000275E 2800 move.l D4, D0
00002760 76FF moveq.l D3, 0xFFFFFFFF
00002762 2045 movea.l A0, D5
00002764 4290 clr.l [A0]
00002766 200B move.l D0, A3
00002768 6704 beq +0x6 /* 0000276E */
0000276A 4A84 tst.l D4
0000276C 660C bne +0xE /* 0000277A */
label0000276E:
0000276E 70FF moveq.l D0, 0xFFFFFFFF
00002770 4FEF 0024 lea.l A7, [A7 + 0x24]
00002774 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
00002778 4E75 rts
label0000277A:
0000277A 204B movea.l A0, A3
0000277C A029 syscall HLock
0000277E 2F4A 0008 move.l [A7 + 0x8], A2
00002782 594F subq.w A7, 4
00002784 2F0A move.l -[A7], A2
00002786 4EAD D9AC jsr [A5 - 0x2654]
0000278A 201F move.l D0, [A7]+
0000278C 2F40 001C move.l [A7 + 0x1C], D0
00002790 70FF moveq.l D0, 0xFFFFFFFF
00002792 2F40 0014 move.l [A7 + 0x14], D0
00002796 486D EB30 pea.l [A5 - 0x14D0]
0000279A 4878 0024 push.l 0x24 /* '$' */
0000279E 594F subq.w A7, 4
000027A0 2F0B move.l -[A7], A3
000027A2 4EAD D9AC jsr [A5 - 0x2654]
000027A6 201F move.l D0, [A7]+
000027A8 7224 moveq.l D1, 0x24
000027AA 4EAD D8FE jsr [A5 - 0x2702]
000027AE 2F00 move.l -[A7], D0
000027B0 2F13 move.l -[A7], [A3]
000027B2 486F 0010 pea.l [A7 + 0x10]
000027B6 4EAD D928 jsr [A5 - 0x26D8]
000027BA 2448 movea.l A2, A0
000027BC 2008 move.l D0, A0
000027BE 4FEF 0014 lea.l A7, [A7 + 0x14]
000027C2 671C beq +0x1E /* 000027E0 */
000027C4 6016 bra +0x18 /* 000027DC */
label000027C6:
000027C6 486A FFDC pea.l [A2 - 0x24]
000027CA 486F 0004 pea.l [A7 + 0x4]
000027CE 4EBA 29A8 jsr [PC + 0x29A8 /* 00005178 */]
000027D2 4A80 tst.l D0
000027D4 504F addq.w A7, 8
000027D6 6608 bne +0xA /* 000027E0 */
000027D8 7024 moveq.l D0, 0x24
000027DA 95C0 sub.l A2, D0
label000027DC:
000027DC B5D3 cmpa.l A2, [A3]
000027DE 62E6 bhi -0x18 /* 000027C6 */
label000027E0:
000027E0 200A move.l D0, A2
000027E2 673C beq +0x3E /* 00002820 */
000027E4 200E move.l D0, A6
000027E6 670C beq +0xE /* 000027F4 */
000027E8 41D2 lea.l A0, [A2]
000027EA 43D6 lea.l A1, [A6]
000027EC 7008 moveq.l D0, 0x08
label000027EE:
000027EE 22D8 move.l [A1]+, [A0]+
000027F0 51C8 FFFC dbf D0, -0x6 /* 000027EE */
label000027F4:
000027F4 200C move.l D0, A4
000027F6 670E beq +0x10 /* 00002806 */
000027F8 204A movea.l A0, A2
000027FA 91D3 sub.l A0, [A3]
000027FC 2008 move.l D0, A0
000027FE 7224 moveq.l D1, 0x24
00002800 4EAD D904 jsr [A5 - 0x26FC]
00002804 2880 move.l [A4], D0
label00002806:
00002806 0C2A 0002 0022 cmpi.b [A2 + 0x22], 0x2
0000280C 6706 beq +0x8 /* 00002814 */
0000280E 202A 0014 move.l D0, [A2 + 0x14]
00002812 6002 bra +0x4 /* 00002816 */
label00002814:
00002814 7000 moveq.l D0, 0x00
label00002816:
00002816 2600 move.l D3, D0
00002818 2045 movea.l A0, D5
0000281A 7001 moveq.l D0, 0x01
0000281C 2080 move.l [A0], D0
0000281E 6002 bra +0x4 /* 00002822 */
label00002820:
00002820 76FF moveq.l D3, 0xFFFFFFFF
label00002822:
00002822 204B movea.l A0, A3
00002824 A02A syscall HUnlock
00002826 2003 move.l D0, D3
00002828 4FEF 0024 lea.l A7, [A7 + 0x24]
0000282C 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
00002830 4E75 rts
00002832 48E7 1030 movem.l -[A7], D3,A2,A3
00002836 266F 0010 movea.l A3, [A7 + 0x10]
0000283A 7600 moveq.l D3, 0x00
0000283C 4227 clr.b -[A7]
0000283E 4878 FF9C push.l 0xFF9C
00002842 2F0B move.l -[A7], A3
00002844 4EAD E830 jsr [A5 - 0x17D0]
00002848 2448 movea.l A2, A0
0000284A 200A move.l D0, A2
0000284C 4FEF 000A lea.l A7, [A7 + 0xA]
00002850 6738 beq +0x3A /* 0000288A */
00002852 4AAA 0050 tst.l [A2 + 0x50]
00002856 6732 beq +0x34 /* 0000288A */
00002858 2F0B move.l -[A7], A3
0000285A 4EAD DD40 jsr [A5 - 0x22C0]
0000285E 2F2F 001C move.l -[A7], [A7 + 0x1C]
00002862 2F2F 001C move.l -[A7], [A7 + 0x1C]
00002866 2F2A 0050 move.l -[A7], [A2 + 0x50]
0000286A 4EAD DD80 jsr [A5 - 0x2280]
0000286E 584F addq.w A7, 4
00002870 2F08 move.l -[A7], A0
00002872 2F0A move.l -[A7], A2
00002874 4EBA 3182 jsr [PC + 0x3182 /* 000059F8 */]
00002878 2600 move.l D3, D0
0000287A 2F2A 0050 move.l -[A7], [A2 + 0x50]
0000287E 4EAD DD88 jsr [A5 - 0x2278]
00002882 4EAD DD48 jsr [A5 - 0x22B8]
00002886 4FEF 0018 lea.l A7, [A7 + 0x18]
label0000288A:
0000288A 1F3C 0002 move.b -[A7], 0x2
0000288E 42A7 clr.l -[A7]
00002890 2F0B move.l -[A7], A3
00002892 4EAD E830 jsr [A5 - 0x17D0]
00002896 2003 move.l D0, D3
00002898 4FEF 000A lea.l A7, [A7 + 0xA]
0000289C 4CDF 0C08 movem.l D3,A2,A3, [A7]+
000028A0 4E75 rts
000028A2 48E7 0038 movem.l -[A7], A2,A3,A4
000028A6 286F 0010 movea.l A4, [A7 + 0x10]
000028AA 97CB sub.l A3, A3
000028AC 4227 clr.b -[A7]
000028AE 4878 FF9C push.l 0xFF9C
000028B2 2F0C move.l -[A7], A4
000028B4 4EAD E830 jsr [A5 - 0x17D0]
000028B8 2448 movea.l A2, A0
000028BA 200A move.l D0, A2
000028BC 4FEF 000A lea.l A7, [A7 + 0xA]
000028C0 6710 beq +0x12 /* 000028D2 */
000028C2 4AAA 0050 tst.l [A2 + 0x50]
000028C6 670A beq +0xC /* 000028D2 */
000028C8 206A 0050 movea.l A0, [A2 + 0x50]
000028CC 2050 movea.l A0, [A0]
000028CE 2668 008A movea.l A3, [A0 + 0x8A]
label000028D2:
000028D2 1F3C 0002 move.b -[A7], 0x2
000028D6 42A7 clr.l -[A7]
000028D8 2F0C move.l -[A7], A4
000028DA 4EAD E830 jsr [A5 - 0x17D0]
000028DE 204B movea.l A0, A3
000028E0 4FEF 000A lea.l A7, [A7 + 0xA]
000028E4 4CDF 1C00 movem.l A2,A3,A4, [A7]+
000028E8 4E75 rts
fn000028EA:
000028EA 48E7 0038 movem.l -[A7], A2,A3,A4
000028EE 286F 0010 movea.l A4, [A7 + 0x10]
000028F2 4227 clr.b -[A7]
000028F4 4878 FF9C push.l 0xFF9C
000028F8 2F0C move.l -[A7], A4
000028FA 4EAD E830 jsr [A5 - 0x17D0]
000028FE 2448 movea.l A2, A0
00002900 200A move.l D0, A2
00002902 4FEF 000A lea.l A7, [A7 + 0xA]
00002906 674C beq +0x4E /* 00002954 */
00002908 4AAA 0050 tst.l [A2 + 0x50]
0000290C 6746 beq +0x48 /* 00002954 */
0000290E 2F0C move.l -[A7], A4
00002910 4EAD DD40 jsr [A5 - 0x22C0]
00002914 2F2A 0050 move.l -[A7], [A2 + 0x50]
00002918 4EAD DD80 jsr [A5 - 0x2280]
0000291C 2648 movea.l A3, A0
0000291E 2F2F 001C move.l -[A7], [A7 + 0x1C]
00002922 2F0B move.l -[A7], A3
00002924 2F0A move.l -[A7], A2
00002926 4EBA 3180 jsr [PC + 0x3180 /* 00005AA8 */]
0000292A 4AAB 0070 tst.l [A3 + 0x70]
0000292E 4FEF 0014 lea.l A7, [A7 + 0x14]
00002932 6712 beq +0x14 /* 00002946 */
00002934 4227 clr.b -[A7]
00002936 2F0B move.l -[A7], A3
00002938 2F0A move.l -[A7], A2
0000293A 4EBA 28FC jsr [PC + 0x28FC /* 00005238 */]
0000293E 42AB 0070 clr.l [A3 + 0x70]
00002942 4FEF 000A lea.l A7, [A7 + 0xA]
label00002946:
00002946 2F2A 0050 move.l -[A7], [A2 + 0x50]
0000294A 4EAD DD88 jsr [A5 - 0x2278]
0000294E 4EAD DD48 jsr [A5 - 0x22B8]
00002952 584F addq.w A7, 4
label00002954:
00002954 1F3C 0002 move.b -[A7], 0x2
00002958 42A7 clr.l -[A7]
0000295A 2F0C move.l -[A7], A4
0000295C 4EAD E830 jsr [A5 - 0x17D0]
00002960 4FEF 000A lea.l A7, [A7 + 0xA]
00002964 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00002968 4E75 rts
fn0000296A:
0000296A 48E7 183A movem.l -[A7], D3,D4,A2,A3,A4,A6
0000296E 282F 001C move.l D4, [A7 + 0x1C]
00002972 262F 0020 move.l D3, [A7 + 0x20]
00002976 2C6F 0024 movea.l A6, [A7 + 0x24]
0000297A 286F 0028 movea.l A4, [A7 + 0x28]
0000297E 4227 clr.b -[A7]
00002980 4878 FF9C push.l 0xFF9C
00002984 2F04 move.l -[A7], D4
00002986 4EAD E830 jsr [A5 - 0x17D0]
0000298A 2648 movea.l A3, A0
0000298C 200B move.l D0, A3
0000298E 4FEF 000A lea.l A7, [A7 + 0xA]
00002992 6758 beq +0x5A /* 000029EC */
00002994 4AAB 0050 tst.l [A3 + 0x50]
00002998 6752 beq +0x54 /* 000029EC */
0000299A 206B 0050 movea.l A0, [A3 + 0x50]
0000299E 2050 movea.l A0, [A0]
000029A0 4AA8 0092 tst.l [A0 + 0x92]
000029A4 6746 beq +0x48 /* 000029EC */
000029A6 206B 0050 movea.l A0, [A3 + 0x50]
000029AA 2450 movea.l A2, [A0]
000029AC 302A 00B6 move.w D0, [A2 + 0xB6]
000029B0 B06A 00B4 cmp.w D0, [A2 + 0xB4]
000029B4 6E06 bgt +0x8 /* 000029BC */
000029B6 302A 00B4 move.w D0, [A2 + 0xB4]
000029BA 6004 bra +0x6 /* 000029C0 */
label000029BC:
000029BC 302A 00B6 move.w D0, [A2 + 0xB6]
label000029C0:
000029C0 3C80 move.w [A6], D0
000029C2 266A 0092 movea.l A3, [A2 + 0x92]
000029C6 2653 movea.l A3, [A3]
000029C8 548B addq.l A3, 2
000029CA 3013 move.w D0, [A3]
000029CC 48C0 ext.l D0
000029CE 322B 0004 move.w D1, [A3 + 0x4]
000029D2 48C1 ext.l D1
000029D4 9280 sub.l D1, D0
000029D6 3881 move.w [A4], D1
000029D8 102A 00AE move.b D0, [A2 + 0xAE]
000029DC EE00 asr D0.b, 7
000029DE 56C0 sne D0
000029E0 4400 neg.b D0
000029E2 4880 ext.w D0
000029E4 48C0 ext.l D0
000029E6 2043 movea.l A0, D3
000029E8 2080 move.l [A0], D0
000029EA 6008 bra +0xA /* 000029F4 */
label000029EC:
000029EC 4254 clr.w [A4]
000029EE 4256 clr.w [A6]
000029F0 2043 movea.l A0, D3
000029F2 4290 clr.l [A0]
label000029F4:
000029F4 1F3C 0002 move.b -[A7], 0x2
000029F8 42A7 clr.l -[A7]
000029FA 2F04 move.l -[A7], D4
000029FC 4EAD E830 jsr [A5 - 0x17D0]
00002A00 4FEF 000A lea.l A7, [A7 + 0xA]
00002A04 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
00002A08 4E75 rts
fn00002A0A:
00002A0A 2F0A move.l -[A7], A2
00002A0C 4227 clr.b -[A7]
00002A0E 4878 FF9C push.l 0xFF9C
00002A12 2F2F 000E move.l -[A7], [A7 + 0xE]
00002A16 4EAD E830 jsr [A5 - 0x17D0]
00002A1A 2448 movea.l A2, A0
00002A1C 200A move.l D0, A2
00002A1E 4FEF 000A lea.l A7, [A7 + 0xA]
00002A22 6714 beq +0x16 /* 00002A38 */
00002A24 4AAA 0050 tst.l [A2 + 0x50]
00002A28 670E beq +0x10 /* 00002A38 */
00002A2A 206F 000C movea.l A0, [A7 + 0xC]
00002A2E 226A 0050 movea.l A1, [A2 + 0x50]
00002A32 2251 movea.l A1, [A1]
00002A34 22D8 move.l [A1]+, [A0]+
00002A36 22D8 move.l [A1]+, [A0]+
label00002A38:
00002A38 1F3C 0002 move.b -[A7], 0x2
00002A3C 42A7 clr.l -[A7]
00002A3E 2F2F 000E move.l -[A7], [A7 + 0xE]
00002A42 4EAD E830 jsr [A5 - 0x17D0]
00002A46 4FEF 000A lea.l A7, [A7 + 0xA]
00002A4A 245F movea.l A2, [A7]+
00002A4C 4E75 rts
00002A4E 2F0A move.l -[A7], A2
00002A50 4227 clr.b -[A7]
00002A52 4878 FF9C push.l 0xFF9C
00002A56 2F2F 000E move.l -[A7], [A7 + 0xE]
00002A5A 4EAD E830 jsr [A5 - 0x17D0]
00002A5E 2448 movea.l A2, A0
00002A60 200A move.l D0, A2
00002A62 4FEF 000A lea.l A7, [A7 + 0xA]
00002A66 6728 beq +0x2A /* 00002A90 */
00002A68 4AAA 0050 tst.l [A2 + 0x50]
00002A6C 6722 beq +0x24 /* 00002A90 */
00002A6E 1F2F 000C move.b -[A7], [A7 + 0xC]
00002A72 2F2A 0050 move.l -[A7], [A2 + 0x50]
00002A76 4EAD DD80 jsr [A5 - 0x2280]
00002A7A 584F addq.w A7, 4
00002A7C 2F08 move.l -[A7], A0
00002A7E 2F0A move.l -[A7], A2
00002A80 4EBA 3F60 jsr [PC + 0x3F60 /* 000069E2 */]
00002A84 2F2A 0050 move.l -[A7], [A2 + 0x50]
00002A88 4EAD DD88 jsr [A5 - 0x2278]
00002A8C 4FEF 000E lea.l A7, [A7 + 0xE]
label00002A90:
00002A90 1F3C 0002 move.b -[A7], 0x2
00002A94 42A7 clr.l -[A7]
00002A96 2F2F 000E move.l -[A7], [A7 + 0xE]
00002A9A 4EAD E830 jsr [A5 - 0x17D0]
00002A9E 4FEF 000A lea.l A7, [A7 + 0xA]
00002AA2 245F movea.l A2, [A7]+
00002AA4 4E75 rts
00002AA6 48E7 0038 movem.l -[A7], A2,A3,A4
00002AAA 286F 0010 movea.l A4, [A7 + 0x10]
00002AAE 97CB sub.l A3, A3
00002AB0 4227 clr.b -[A7]
00002AB2 4878 FF9C push.l 0xFF9C
00002AB6 2F0C move.l -[A7], A4
00002AB8 4EAD E830 jsr [A5 - 0x17D0]
00002ABC 2448 movea.l A2, A0
00002ABE 200A move.l D0, A2
00002AC0 4FEF 000A lea.l A7, [A7 + 0xA]
00002AC4 6710 beq +0x12 /* 00002AD6 */
00002AC6 4AAA 0050 tst.l [A2 + 0x50]
00002ACA 670A beq +0xC /* 00002AD6 */
00002ACC 206A 0050 movea.l A0, [A2 + 0x50]
00002AD0 2050 movea.l A0, [A0]
00002AD2 2668 009E movea.l A3, [A0 + 0x9E]
label00002AD6:
00002AD6 1F3C 0002 move.b -[A7], 0x2
00002ADA 42A7 clr.l -[A7]
00002ADC 2F0C move.l -[A7], A4
00002ADE 4EAD E830 jsr [A5 - 0x17D0]
00002AE2 204B movea.l A0, A3
00002AE4 4FEF 000A lea.l A7, [A7 + 0xA]
00002AE8 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00002AEC 4E75 rts
00002AEE 48E7 103A movem.l -[A7], D3,A2,A3,A4,A6
00002AF2 262F 0018 move.l D3, [A7 + 0x18]
00002AF6 2C6F 001C movea.l A6, [A7 + 0x1C]
00002AFA 286F 0020 movea.l A4, [A7 + 0x20]
00002AFE 4227 clr.b -[A7]
00002B00 4878 FF9C push.l 0xFF9C
00002B04 2F03 move.l -[A7], D3
00002B06 4EAD E830 jsr [A5 - 0x17D0]
00002B0A 2448 movea.l A2, A0
00002B0C 200A move.l D0, A2
00002B0E 4FEF 000A lea.l A7, [A7 + 0xA]
00002B12 6716 beq +0x18 /* 00002B2A */
00002B14 4AAA 0050 tst.l [A2 + 0x50]
00002B18 6710 beq +0x12 /* 00002B2A */
00002B1A 206A 0050 movea.l A0, [A2 + 0x50]
00002B1E 2650 movea.l A3, [A0]
00002B20 2CAB 008E move.l [A6], [A3 + 0x8E]
00002B24 28AB 0092 move.l [A4], [A3 + 0x92]
00002B28 6004 bra +0x6 /* 00002B2E */
label00002B2A:
00002B2A 4294 clr.l [A4]
00002B2C 4296 clr.l [A6]
label00002B2E:
00002B2E 1F3C 0002 move.b -[A7], 0x2
00002B32 42A7 clr.l -[A7]
00002B34 2F03 move.l -[A7], D3
00002B36 4EAD E830 jsr [A5 - 0x17D0]
00002B3A 4FEF 000A lea.l A7, [A7 + 0xA]
00002B3E 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
00002B42 4E75 rts
00002B44 48E7 0030 movem.l -[A7], A2,A3
00002B48 266F 000C movea.l A3, [A7 + 0xC]
00002B4C 4A6D B48A tst.w [A5 - 0x4B76]
00002B50 6758 beq +0x5A /* 00002BAA */
00002B52 4227 clr.b -[A7]
00002B54 4878 FF9C push.l 0xFF9C
00002B58 2F0B move.l -[A7], A3
00002B5A 4EAD E830 jsr [A5 - 0x17D0]
00002B5E 2448 movea.l A2, A0
00002B60 200A move.l D0, A2
00002B62 4FEF 000A lea.l A7, [A7 + 0xA]
00002B66 6732 beq +0x34 /* 00002B9A */
00002B68 4AAA 0050 tst.l [A2 + 0x50]
00002B6C 672C beq +0x2E /* 00002B9A */
00002B6E 2F0B move.l -[A7], A3
00002B70 4EAD DD40 jsr [A5 - 0x22C0]
00002B74 4878 0001 push.l 0x1
00002B78 2F2A 0050 move.l -[A7], [A2 + 0x50]
00002B7C 4EAD DD80 jsr [A5 - 0x2280]
00002B80 584F addq.w A7, 4
00002B82 2F08 move.l -[A7], A0
00002B84 2F0A move.l -[A7], A2
00002B86 4EBA 3960 jsr [PC + 0x3960 /* 000064E8 */]
00002B8A 2F2A 0050 move.l -[A7], [A2 + 0x50]
00002B8E 4EAD DD88 jsr [A5 - 0x2278]
00002B92 4EAD DD48 jsr [A5 - 0x22B8]
00002B96 4FEF 0014 lea.l A7, [A7 + 0x14]
label00002B9A:
00002B9A 1F3C 0002 move.b -[A7], 0x2
00002B9E 42A7 clr.l -[A7]
00002BA0 2F0B move.l -[A7], A3
00002BA2 4EAD E830 jsr [A5 - 0x17D0]
00002BA6 4FEF 000A lea.l A7, [A7 + 0xA]
label00002BAA:
00002BAA 4CDF 0C00 movem.l A2,A3, [A7]+
00002BAE 4E75 rts
00002BB0 2F0A move.l -[A7], A2
00002BB2 4227 clr.b -[A7]
00002BB4 4878 FF9C push.l 0xFF9C
00002BB8 2F2F 000E move.l -[A7], [A7 + 0xE]
00002BBC 4EAD E830 jsr [A5 - 0x17D0]
00002BC0 2448 movea.l A2, A0
00002BC2 200A move.l D0, A2
00002BC4 4FEF 000A lea.l A7, [A7 + 0xA]
00002BC8 672C beq +0x2E /* 00002BF6 */
00002BCA 4AAA 0050 tst.l [A2 + 0x50]
00002BCE 6726 beq +0x28 /* 00002BF6 */
00002BD0 1F2F 0010 move.b -[A7], [A7 + 0x10]
00002BD4 2F2F 000E move.l -[A7], [A7 + 0xE]
00002BD8 2F2A 0050 move.l -[A7], [A2 + 0x50]
00002BDC 4EAD DD80 jsr [A5 - 0x2280]
00002BE0 584F addq.w A7, 4
00002BE2 2F08 move.l -[A7], A0
00002BE4 2F0A move.l -[A7], A2
00002BE6 4EBA 1FE8 jsr [PC + 0x1FE8 /* 00004BD0 */]
00002BEA 2F2A 0050 move.l -[A7], [A2 + 0x50]
00002BEE 4EAD DD88 jsr [A5 - 0x2278]
00002BF2 4FEF 0012 lea.l A7, [A7 + 0x12]
label00002BF6:
00002BF6 1F3C 0002 move.b -[A7], 0x2
00002BFA 42A7 clr.l -[A7]
00002BFC 2F2F 000E move.l -[A7], [A7 + 0xE]
00002C00 4EAD E830 jsr [A5 - 0x17D0]
00002C04 4FEF 000A lea.l A7, [A7 + 0xA]
00002C08 245F movea.l A2, [A7]+
00002C0A 4E75 rts
00002C0C 48E7 0030 movem.l -[A7], A2,A3
00002C10 266F 000C movea.l A3, [A7 + 0xC]
00002C14 4227 clr.b -[A7]
00002C16 4878 FF9C push.l 0xFF9C
00002C1A 2F0B move.l -[A7], A3
00002C1C 4EAD E830 jsr [A5 - 0x17D0]
00002C20 2448 movea.l A2, A0
00002C22 200A move.l D0, A2
00002C24 4FEF 000A lea.l A7, [A7 + 0xA]
00002C28 6718 beq +0x1A /* 00002C42 */
00002C2A 2F0B move.l -[A7], A3
00002C2C 4EAD DD40 jsr [A5 - 0x22C0]
00002C30 1F3C 0002 move.b -[A7], 0x2
00002C34 2F0A move.l -[A7], A2
00002C36 4EBA 14A2 jsr [PC + 0x14A2 /* 000040DA */]
00002C3A 4EAD DD48 jsr [A5 - 0x22B8]
00002C3E 4FEF 000A lea.l A7, [A7 + 0xA]
label00002C42:
00002C42 1F3C 0002 move.b -[A7], 0x2
00002C46 42A7 clr.l -[A7]
00002C48 2F0B move.l -[A7], A3
00002C4A 4EAD E830 jsr [A5 - 0x17D0]
00002C4E 4FEF 000A lea.l A7, [A7 + 0xA]
00002C52 4CDF 0C00 movem.l A2,A3, [A7]+
00002C56 4E75 rts
00002C58 48E7 1030 movem.l -[A7], D3,A2,A3
00002C5C 266F 0010 movea.l A3, [A7 + 0x10]
00002C60 76FF moveq.l D3, 0xFFFFFFFF
00002C62 4227 clr.b -[A7]
00002C64 4878 FF9C push.l 0xFF9C
00002C68 2F0B move.l -[A7], A3
00002C6A 4EAD E830 jsr [A5 - 0x17D0]
00002C6E 2448 movea.l A2, A0
00002C70 200A move.l D0, A2
00002C72 4FEF 000A lea.l A7, [A7 + 0xA]
00002C76 6710 beq +0x12 /* 00002C88 */
00002C78 4AAA 0050 tst.l [A2 + 0x50]
00002C7C 670A beq +0xC /* 00002C88 */
00002C7E 206A 0050 movea.l A0, [A2 + 0x50]
00002C82 2050 movea.l A0, [A0]
00002C84 2628 00A2 move.l D3, [A0 + 0xA2]
label00002C88:
00002C88 1F3C 0002 move.b -[A7], 0x2
00002C8C 42A7 clr.l -[A7]
00002C8E 2F0B move.l -[A7], A3
00002C90 4EAD E830 jsr [A5 - 0x17D0]
00002C94 2003 move.l D0, D3
00002C96 4FEF 000A lea.l A7, [A7 + 0xA]
00002C9A 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00002C9E 4E75 rts
00002CA0 48E7 103A movem.l -[A7], D3,A2,A3,A4,A6
00002CA4 4FEF FFF0 lea.l A7, [A7 - 0x10]
00002CA8 246F 0028 movea.l A2, [A7 + 0x28]
00002CAC 262F 002C move.l D3, [A7 + 0x2C]
00002CB0 4227 clr.b -[A7]
00002CB2 4878 FF9C push.l 0xFF9C
00002CB6 2F0A move.l -[A7], A2
00002CB8 4EAD E830 jsr [A5 - 0x17D0]
00002CBC 2848 movea.l A4, A0
00002CBE 200C move.l D0, A4
00002CC0 4FEF 000A lea.l A7, [A7 + 0xA]
00002CC4 6700 0144 beq +0x146 /* 00002E0A */
00002CC8 4AAC 0050 tst.l [A4 + 0x50]
00002CCC 6700 013C beq +0x13E /* 00002E0A */
00002CD0 2F2C 0050 move.l -[A7], [A4 + 0x50]
00002CD4 4EAD DD80 jsr [A5 - 0x2280]
00002CD8 2648 movea.l A3, A0
00002CDA 2F0A move.l -[A7], A2
00002CDC 4EAD DD40 jsr [A5 - 0x22C0]
00002CE0 4227 clr.b -[A7]
00002CE2 486F 0012 pea.l [A7 + 0x12]
00002CE6 2F0B move.l -[A7], A3
00002CE8 2F0C move.l -[A7], A4
00002CEA 4EBA 1EE4 jsr [PC + 0x1EE4 /* 00004BD0 */]
00002CEE 486F 001E pea.l [A7 + 0x1E]
00002CF2 4EAD DD50 jsr [A5 - 0x22B0]
00002CF6 4FEF 001A lea.l A7, [A7 + 0x1A]
00002CFA 2003 move.l D0, D3
00002CFC 0C80 0000 0008 cmpi.l D0, 0x8
00002D02 6200 00B0 bhi +0xB2 /* 00002DB4 */
00002D06 D040 add.w D0, D0
00002D08 303B 0006 move.w D0, [PC + D0.w + 0x6]
00002D0C 4EFB 0002 jmp [PC + D0.w + 0x2]
00002D10 00A4 0054 00A4 ori.l -[A4], 0x5400A4
00002D16 0054 0012 ori.w [A4], 0x12
00002D1A 0054 0054 ori.w [A4], 0x54 /* 'T' */
00002D1E 00A4 0094 4AAB ori.l -[A4], 0x944AAB
00002D24 009E 673C 486F ori.l [A6]+, 0x673C486F /* 'g<Ho' */
00002D2A 0004 486F ori.b D4, 0x6F /* 'o' */
00002D2E 0004 42A7 ori.b D4, 0xA7
00002D32 2F2B 009E move.l -[A7], [A3 + 0x9E]
00002D36 4EAD E5B0 jsr [A5 - 0x1A50]
00002D3A 4A80 tst.l D0
00002D3C 4FEF 0010 lea.l A7, [A7 + 0x10]
00002D40 6722 beq +0x24 /* 00002D64 */
00002D42 1F3C 0001 move.b -[A7], 0x1
00002D46 2F0A move.l -[A7], A2
00002D48 4EAD E818 jsr [A5 - 0x17E8]
00002D4C 2610 move.l D3, [A0]
00002D4E 2F03 move.l -[A7], D3
00002D50 3F2B 00B2 move.w -[A7], [A3 + 0xB2]
00002D54 2F2B 009E move.l -[A7], [A3 + 0x9E]
00002D58 4EAD E5B8 jsr [A5 - 0x1A48]
00002D5C 4FEF 0010 lea.l A7, [A7 + 0x10]
00002D60 6000 0096 bra +0x98 /* 00002DF8 */
label00002D64:
00002D64 4A6D B48A tst.w [A5 - 0x4B76]
00002D68 6700 008E beq +0x90 /* 00002DF8 */
00002D6C 2003 move.l D0, D3
00002D6E 5380 subq.l D0, 1
00002D70 2F00 move.l -[A7], D0
00002D72 2F0A move.l -[A7], A2
00002D74 4EAD F6A0 jsr [A5 - 0x960]
00002D78 7001 moveq.l D0, 0x01
00002D7A B680 cmp.l D3, D0
00002D7C 504F addq.w A7, 8
00002D7E 6678 bne +0x7A /* 00002DF8 */
00002D80 2F0A move.l -[A7], A2
00002D82 4EAD F670 jsr [A5 - 0x990]
00002D86 2008 move.l D0, A0
00002D88 57C0 seq D0
00002D8A 4400 neg.b D0
00002D8C 4880 ext.w D0
00002D8E 48C0 ext.l D0
00002D90 584F addq.w A7, 4
00002D92 2F00 move.l -[A7], D0
00002D94 2F2B 00A2 move.l -[A7], [A3 + 0xA2]
00002D98 2F0A move.l -[A7], A2
00002D9A 4EAD E5F8 jsr [A5 - 0x1A08]
00002D9E 4FEF 000C lea.l A7, [A7 + 0xC]
00002DA2 6054 bra +0x56 /* 00002DF8 */
00002DA4 4A6D B48A tst.w [A5 - 0x4B76]
00002DA8 674E beq +0x50 /* 00002DF8 */
00002DAA 2F0A move.l -[A7], A2
00002DAC 4EAD F6A8 jsr [A5 - 0x958]
00002DB0 584F addq.w A7, 4
00002DB2 6044 bra +0x46 /* 00002DF8 */
label00002DB4:
00002DB4 4A6D B48A tst.w [A5 - 0x4B76]
00002DB8 673E beq +0x40 /* 00002DF8 */
00002DBA 302D B414 move.w D0, [A5 - 0x4BEC]
00002DBE 48C0 ext.l D0
00002DC0 5480 addq.l D0, 2
00002DC2 B083 cmp.l D0, D3
00002DC4 6632 bne +0x34 /* 00002DF8 */
00002DC6 2F0A move.l -[A7], A2
00002DC8 4EAD F670 jsr [A5 - 0x990]
00002DCC 2C48 movea.l A6, A0
00002DCE 2008 move.l D0, A0
00002DD0 584F addq.w A7, 4
00002DD2 6724 beq +0x26 /* 00002DF8 */
00002DD4 4878 0001 push.l 0x1
00002DD8 2F0E move.l -[A7], A6
00002DDA 4EAD F680 jsr [A5 - 0x980]
00002DDE 4878 0001 push.l 0x1
00002DE2 2F2B 00A2 move.l -[A7], [A3 + 0xA2]
00002DE6 2F0A move.l -[A7], A2
00002DE8 4EAD E5F8 jsr [A5 - 0x1A08]
00002DEC 2F0B move.l -[A7], A3
00002DEE 2F0C move.l -[A7], A4
00002DF0 4EBA 445E jsr [PC + 0x445E /* 00007250 */]
00002DF4 4FEF 001C lea.l A7, [A7 + 0x1C]
label00002DF8:
00002DF8 4EAD DD58 jsr [A5 - 0x22A8]
00002DFC 4EAD DD48 jsr [A5 - 0x22B8]
00002E00 2F2C 0050 move.l -[A7], [A4 + 0x50]
00002E04 4EAD DD88 jsr [A5 - 0x2278]
00002E08 584F addq.w A7, 4
label00002E0A:
00002E0A 1F3C 0002 move.b -[A7], 0x2
00002E0E 42A7 clr.l -[A7]
00002E10 2F0A move.l -[A7], A2
00002E12 4EAD E830 jsr [A5 - 0x17D0]
00002E16 4FEF 001A lea.l A7, [A7 + 0x1A]
00002E1A 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
00002E1E 4E75 rts
00002E20 48E7 0030 movem.l -[A7], A2,A3
00002E24 266F 000C movea.l A3, [A7 + 0xC]
00002E28 4A6D B48A tst.w [A5 - 0x4B76]
00002E2C 675A beq +0x5C /* 00002E88 */
00002E2E 4227 clr.b -[A7]
00002E30 4878 FF9C push.l 0xFF9C
00002E34 2F0B move.l -[A7], A3
00002E36 4EAD E830 jsr [A5 - 0x17D0]
00002E3A 2448 movea.l A2, A0
00002E3C 200A move.l D0, A2
00002E3E 4FEF 000A lea.l A7, [A7 + 0xA]
00002E42 6734 beq +0x36 /* 00002E78 */
00002E44 4AAA 0050 tst.l [A2 + 0x50]
00002E48 672E beq +0x30 /* 00002E78 */
00002E4A 2F0B move.l -[A7], A3
00002E4C 4EAD DD40 jsr [A5 - 0x22C0]
00002E50 42A7 clr.l -[A7]
00002E52 4878 0001 push.l 0x1
00002E56 2F2A 0050 move.l -[A7], [A2 + 0x50]
00002E5A 4EAD DD80 jsr [A5 - 0x2280]
00002E5E 584F addq.w A7, 4
00002E60 2F08 move.l -[A7], A0
00002E62 2F0A move.l -[A7], A2
00002E64 4EBA 3712 jsr [PC + 0x3712 /* 00006578 */]
00002E68 2F2A 0050 move.l -[A7], [A2 + 0x50]
00002E6C 4EAD DD88 jsr [A5 - 0x2278]
00002E70 4EAD DD48 jsr [A5 - 0x22B8]
00002E74 4FEF 0018 lea.l A7, [A7 + 0x18]
label00002E78:
00002E78 1F3C 0002 move.b -[A7], 0x2
00002E7C 42A7 clr.l -[A7]
00002E7E 2F0B move.l -[A7], A3
00002E80 4EAD E830 jsr [A5 - 0x17D0]
00002E84 4FEF 000A lea.l A7, [A7 + 0xA]
label00002E88:
00002E88 4CDF 0C00 movem.l A2,A3, [A7]+
00002E8C 4E75 rts
00002E8E 48E7 0038 movem.l -[A7], A2,A3,A4
00002E92 286F 0010 movea.l A4, [A7 + 0x10]
00002E96 4227 clr.b -[A7]
00002E98 4878 FF9C push.l 0xFF9C
00002E9C 2F0C move.l -[A7], A4
00002E9E 4EAD E830 jsr [A5 - 0x17D0]
00002EA2 2448 movea.l A2, A0
00002EA4 200A move.l D0, A2
00002EA6 4FEF 000A lea.l A7, [A7 + 0xA]
00002EAA 6758 beq +0x5A /* 00002F04 */
00002EAC 4AAA 0050 tst.l [A2 + 0x50]
00002EB0 6752 beq +0x54 /* 00002F04 */
00002EB2 2F2A 0050 move.l -[A7], [A2 + 0x50]
00002EB6 4EAD DD80 jsr [A5 - 0x2280]
00002EBA 2648 movea.l A3, A0
00002EBC 2F0C move.l -[A7], A4
00002EBE 4EAD DD40 jsr [A5 - 0x22C0]
00002EC2 4A6D B48A tst.w [A5 - 0x4B76]
00002EC6 504F addq.w A7, 8
00002EC8 670C beq +0xE /* 00002ED6 */
00002ECA 2F0B move.l -[A7], A3
00002ECC 2F0A move.l -[A7], A2
00002ECE 4EBA 3732 jsr [PC + 0x3732 /* 00006602 */]
00002ED2 504F addq.w A7, 8
00002ED4 6014 bra +0x16 /* 00002EEA */
label00002ED6:
00002ED6 4878 0001 push.l 0x1
00002EDA 4878 0001 push.l 0x1
00002EDE 2F0B move.l -[A7], A3
00002EE0 2F0A move.l -[A7], A2
00002EE2 4EBA 3694 jsr [PC + 0x3694 /* 00006578 */]
00002EE6 4FEF 0010 lea.l A7, [A7 + 0x10]
label00002EEA:
00002EEA 2F2A 0050 move.l -[A7], [A2 + 0x50]
00002EEE 4EAD DD88 jsr [A5 - 0x2278]
00002EF2 1F3C 0002 move.b -[A7], 0x2
00002EF6 2F0A move.l -[A7], A2
00002EF8 4EBA 11E0 jsr [PC + 0x11E0 /* 000040DA */]
00002EFC 4EAD DD48 jsr [A5 - 0x22B8]
00002F00 4FEF 000A lea.l A7, [A7 + 0xA]
label00002F04:
00002F04 1F3C 0002 move.b -[A7], 0x2
00002F08 42A7 clr.l -[A7]
00002F0A 2F0C move.l -[A7], A4
00002F0C 4EAD E830 jsr [A5 - 0x17D0]
00002F10 4FEF 000A lea.l A7, [A7 + 0xA]
00002F14 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00002F18 4E75 rts
00002F1A 206F 0004 movea.l A0, [A7 + 0x4]
00002F1E 2F28 0048 move.l -[A7], [A0 + 0x48]
00002F22 4EAD DD40 jsr [A5 - 0x22C0]
00002F26 1F3C 0002 move.b -[A7], 0x2
00002F2A 2F2F 000A move.l -[A7], [A7 + 0xA]
00002F2E 4EBA 11AA jsr [PC + 0x11AA /* 000040DA */]
00002F32 4EAD DD48 jsr [A5 - 0x22B8]
00002F36 4FEF 000A lea.l A7, [A7 + 0xA]
00002F3A 4E75 rts
00002F3C 48E7 003A movem.l -[A7], A2,A3,A4,A6
00002F40 2C6F 0014 movea.l A6, [A7 + 0x14]
00002F44 286F 0018 movea.l A4, [A7 + 0x18]
00002F48 200C move.l D0, A4
00002F4A 6612 bne +0x14 /* 00002F5E */
00002F4C 4878 0001 push.l 0x1
00002F50 2F0E move.l -[A7], A6
00002F52 4EBA F996 jsr [PC - 0x66A /* 000028EA */]
00002F56 504F addq.w A7, 8
00002F58 4CDF 5C00 movem.l A2,A3,A4,A6, [A7]+
00002F5C 4E75 rts
label00002F5E:
00002F5E 4227 clr.b -[A7]
00002F60 4878 FF9C push.l 0xFF9C
00002F64 2F0E move.l -[A7], A6
00002F66 4EAD E830 jsr [A5 - 0x17D0]
00002F6A 2648 movea.l A3, A0
00002F6C 200B move.l D0, A3
00002F6E 4FEF 000A lea.l A7, [A7 + 0xA]
00002F72 6700 00D4 beq +0xD6 /* 00003048 */
00002F76 4AAB 0050 tst.l [A3 + 0x50]
00002F7A 6700 00CC beq +0xCE /* 00003048 */
00002F7E 206B 0050 movea.l A0, [A3 + 0x50]
00002F82 2050 movea.l A0, [A0]
00002F84 4AA8 0076 tst.l [A0 + 0x76]
00002F88 6700 00BE beq +0xC0 /* 00003048 */
00002F8C 2F2B 0050 move.l -[A7], [A3 + 0x50]
00002F90 4EAD DD80 jsr [A5 - 0x2280]
00002F94 2448 movea.l A2, A0
00002F96 2F0E move.l -[A7], A6
00002F98 4EAD DD40 jsr [A5 - 0x22C0]
00002F9C 200C move.l D0, A4
00002F9E 504F addq.w A7, 8
00002FA0 6700 0098 beq +0x9A /* 0000303A */
00002FA4 2F2A 0076 move.l -[A7], [A2 + 0x76]
00002FA8 2F0A move.l -[A7], A2
00002FAA 4EBA 349A jsr [PC + 0x349A /* 00006446 */]
00002FAE 4480 neg.l D0
00002FB0 322A 0012 move.w D1, [A2 + 0x12]
00002FB4 48C1 ext.l D1
00002FB6 D280 add.l D1, D0
00002FB8 584F addq.w A7, 4
00002FBA 3F01 move.w -[A7], D1
00002FBC 2F0A move.l -[A7], A2
00002FBE 4EBA 34A4 jsr [PC + 0x34A4 /* 00006464 */]
00002FC2 4480 neg.l D0
00002FC4 322A 0010 move.w D1, [A2 + 0x10]
00002FC8 48C1 ext.l D1
00002FCA D280 add.l D1, D0
00002FCC 584F addq.w A7, 4
00002FCE 3F01 move.w -[A7], D1
00002FD0 A8E0 syscall OffsetRgn/OfsetRgn
00002FD2 2F2A 0076 move.l -[A7], [A2 + 0x76]
00002FD6 4878 FFFF push.l 0xFFFF
00002FDA A8E1 syscall InsetRgn
00002FDC 2F2A 0076 move.l -[A7], [A2 + 0x76]
00002FE0 A927 syscall InvalRgn
00002FE2 2F0C move.l -[A7], A4
00002FE4 2F2A 0076 move.l -[A7], [A2 + 0x76]
00002FE8 A8DC syscall CopyRgn
00002FEA 4878 0001 push.l 0x1
00002FEE 42A7 clr.l -[A7]
00002FF0 42A7 clr.l -[A7]
00002FF2 1F3C 0001 move.b -[A7], 0x1
00002FF6 2F0A move.l -[A7], A2
00002FF8 2F0B move.l -[A7], A3
00002FFA 4EBA 2488 jsr [PC + 0x2488 /* 00005484 */]
00002FFE 2F0C move.l -[A7], A4
00003000 2F0A move.l -[A7], A2
00003002 4EBA 3442 jsr [PC + 0x3442 /* 00006446 */]
00003006 4480 neg.l D0
00003008 322A 0012 move.w D1, [A2 + 0x12]
0000300C 48C1 ext.l D1
0000300E D280 add.l D1, D0
00003010 584F addq.w A7, 4
00003012 3F01 move.w -[A7], D1
00003014 2F0A move.l -[A7], A2
00003016 4EBA 344C jsr [PC + 0x344C /* 00006464 */]
0000301A 4480 neg.l D0
0000301C 322A 0010 move.w D1, [A2 + 0x10]
00003020 48C1 ext.l D1
00003022 D280 add.l D1, D0
00003024 584F addq.w A7, 4
00003026 3F01 move.w -[A7], D1
00003028 A8E0 syscall OffsetRgn/OfsetRgn
0000302A 2F0C move.l -[A7], A4
0000302C 4878 FFFF push.l 0xFFFF
00003030 A8E1 syscall InsetRgn
00003032 2F0C move.l -[A7], A4
00003034 A927 syscall InvalRgn
00003036 4FEF 0016 lea.l A7, [A7 + 0x16]
label0000303A:
0000303A 4EAD DD48 jsr [A5 - 0x22B8]
0000303E 2F2B 0050 move.l -[A7], [A3 + 0x50]
00003042 4EAD DD88 jsr [A5 - 0x2278]
00003046 584F addq.w A7, 4
label00003048:
00003048 1F3C 0002 move.b -[A7], 0x2
0000304C 42A7 clr.l -[A7]
0000304E 2F0E move.l -[A7], A6
00003050 4EAD E830 jsr [A5 - 0x17D0]
00003054 4FEF 000A lea.l A7, [A7 + 0xA]
00003058 4CDF 5C00 movem.l A2,A3,A4,A6, [A7]+
0000305C 4E75 rts
0000305E 48E7 0030 movem.l -[A7], A2,A3
00003062 266F 000C movea.l A3, [A7 + 0xC]
00003066 4227 clr.b -[A7]
00003068 4878 FF9C push.l 0xFF9C
0000306C 2F0B move.l -[A7], A3
0000306E 4EAD E830 jsr [A5 - 0x17D0]
00003072 2448 movea.l A2, A0
00003074 200A move.l D0, A2
00003076 4FEF 000A lea.l A7, [A7 + 0xA]
0000307A 671E beq +0x20 /* 0000309A */
0000307C 4AAA 0050 tst.l [A2 + 0x50]
00003080 6718 beq +0x1A /* 0000309A */
00003082 2F2F 0010 move.l -[A7], [A7 + 0x10]
00003086 206A 0050 movea.l A0, [A2 + 0x50]
0000308A 2050 movea.l A0, [A0]
0000308C 2F28 00A2 move.l -[A7], [A0 + 0xA2]
00003090 2F0B move.l -[A7], A3
00003092 4EAD E630 jsr [A5 - 0x19D0]
00003096 4FEF 000C lea.l A7, [A7 + 0xC]
label0000309A:
0000309A 1F3C 0002 move.b -[A7], 0x2
0000309E 42A7 clr.l -[A7]
000030A0 2F0B move.l -[A7], A3
000030A2 4EAD E830 jsr [A5 - 0x17D0]
000030A6 4FEF 000A lea.l A7, [A7 + 0xA]
000030AA 4CDF 0C00 movem.l A2,A3, [A7]+
000030AE 4E75 rts
000030B0 48E7 0030 movem.l -[A7], A2,A3
000030B4 266F 000C movea.l A3, [A7 + 0xC]
000030B8 4227 clr.b -[A7]
000030BA 4878 FF9C push.l 0xFF9C
000030BE 2F0B move.l -[A7], A3
000030C0 4EAD E830 jsr [A5 - 0x17D0]
000030C4 2448 movea.l A2, A0
000030C6 200A move.l D0, A2
000030C8 4FEF 000A lea.l A7, [A7 + 0xA]
000030CC 671C beq +0x1E /* 000030EA */
000030CE 4AAA 0050 tst.l [A2 + 0x50]
000030D2 6716 beq +0x18 /* 000030EA */
000030D4 42A7 clr.l -[A7]
000030D6 206A 0050 movea.l A0, [A2 + 0x50]
000030DA 2050 movea.l A0, [A0]
000030DC 2F28 00A2 move.l -[A7], [A0 + 0xA2]
000030E0 2F0B move.l -[A7], A3
000030E2 4EAD E648 jsr [A5 - 0x19B8]
000030E6 4FEF 000C lea.l A7, [A7 + 0xC]
label000030EA:
000030EA 1F3C 0002 move.b -[A7], 0x2
000030EE 42A7 clr.l -[A7]
000030F0 2F0B move.l -[A7], A3
000030F2 4EAD E830 jsr [A5 - 0x17D0]
000030F6 4FEF 000A lea.l A7, [A7 + 0xA]
000030FA 4CDF 0C00 movem.l A2,A3, [A7]+
000030FE 4E75 rts
00003100 48E7 0030 movem.l -[A7], A2,A3
00003104 266F 000C movea.l A3, [A7 + 0xC]
00003108 4227 clr.b -[A7]
0000310A 4878 FF9C push.l 0xFF9C
0000310E 2F0B move.l -[A7], A3
00003110 4EAD E830 jsr [A5 - 0x17D0]
00003114 2448 movea.l A2, A0
00003116 200A move.l D0, A2
00003118 4FEF 000A lea.l A7, [A7 + 0xA]
0000311C 671E beq +0x20 /* 0000313C */
0000311E 4AAA 0050 tst.l [A2 + 0x50]
00003122 6718 beq +0x1A /* 0000313C */
00003124 4878 0001 push.l 0x1
00003128 206A 0050 movea.l A0, [A2 + 0x50]
0000312C 2050 movea.l A0, [A0]
0000312E 2F28 00A2 move.l -[A7], [A0 + 0xA2]
00003132 2F0B move.l -[A7], A3
00003134 4EAD E648 jsr [A5 - 0x19B8]
00003138 4FEF 000C lea.l A7, [A7 + 0xC]
label0000313C:
0000313C 1F3C 0002 move.b -[A7], 0x2
00003140 42A7 clr.l -[A7]
00003142 2F0B move.l -[A7], A3
00003144 4EAD E830 jsr [A5 - 0x17D0]
00003148 4FEF 000A lea.l A7, [A7 + 0xA]
0000314C 4CDF 0C00 movem.l A2,A3, [A7]+
00003150 4E75 rts
00003152 206F 0004 movea.l A0, [A7 + 0x4]
00003156 4AA8 0050 tst.l [A0 + 0x50]
0000315A 6604 bne +0x6 /* 00003160 */
0000315C 7000 moveq.l D0, 0x00
0000315E 6010 bra +0x12 /* 00003170 */
label00003160:
00003160 206F 0004 movea.l A0, [A7 + 0x4]
00003164 2068 0050 movea.l A0, [A0 + 0x50]
00003168 2050 movea.l A0, [A0]
0000316A 7000 moveq.l D0, 0x00
0000316C 3028 0044 move.w D0, [A0 + 0x44]
label00003170:
00003170 4E75 rts
00003172 48E7 0030 movem.l -[A7], A2,A3
00003176 246F 000C movea.l A2, [A7 + 0xC]
0000317A 4AAA 0050 tst.l [A2 + 0x50]
0000317E 673C beq +0x3E /* 000031BC */
00003180 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003184 4EAD DD40 jsr [A5 - 0x22C0]
00003188 2F2A 0050 move.l -[A7], [A2 + 0x50]
0000318C 4EAD DD80 jsr [A5 - 0x2280]
00003190 2648 movea.l A3, A0
00003192 4AAB 00A6 tst.l [A3 + 0xA6]
00003196 56C0 sne D0
00003198 4400 neg.b D0
0000319A 4880 ext.w D0
0000319C 48C0 ext.l D0
0000319E 2F00 move.l -[A7], D0
000031A0 486B 0010 pea.l [A3 + 0x10]
000031A4 2F0B move.l -[A7], A3
000031A6 2F0A move.l -[A7], A2
000031A8 4EBA 39E0 jsr [PC + 0x39E0 /* 00006B8A */]
000031AC 2F2A 0050 move.l -[A7], [A2 + 0x50]
000031B0 4EAD DD88 jsr [A5 - 0x2278]
000031B4 4EAD DD48 jsr [A5 - 0x22B8]
000031B8 4FEF 001C lea.l A7, [A7 + 0x1C]
label000031BC:
000031BC 4CDF 0C00 movem.l A2,A3, [A7]+
000031C0 4E75 rts
fn000031C2:
000031C2 2F0A move.l -[A7], A2
000031C4 246F 0008 movea.l A2, [A7 + 0x8]
000031C8 4AAA 0050 tst.l [A2 + 0x50]
000031CC 6606 bne +0x8 /* 000031D4 */
000031CE 70FF moveq.l D0, 0xFFFFFFFF
000031D0 245F movea.l A2, [A7]+
000031D2 4E75 rts
label000031D4:
000031D4 4AAA 0054 tst.l [A2 + 0x54]
000031D8 6E04 bgt +0x6 /* 000031DE */
000031DA 70FF moveq.l D0, 0xFFFFFFFF
000031DC 600A bra +0xC /* 000031E8 */
label000031DE:
000031DE 206A 0050 movea.l A0, [A2 + 0x50]
000031E2 2050 movea.l A0, [A0]
000031E4 2028 0040 move.l D0, [A0 + 0x40]
label000031E8:
000031E8 245F movea.l A2, [A7]+
000031EA 4E75 rts
000031EC 48E7 0038 movem.l -[A7], A2,A3,A4
000031F0 286F 0010 movea.l A4, [A7 + 0x10]
000031F4 4227 clr.b -[A7]
000031F6 4878 FF9C push.l 0xFF9C
000031FA 2F0C move.l -[A7], A4
000031FC 4EAD E830 jsr [A5 - 0x17D0]
00003200 2448 movea.l A2, A0
00003202 200A move.l D0, A2
00003204 4FEF 000A lea.l A7, [A7 + 0xA]
00003208 6746 beq +0x48 /* 00003250 */
0000320A 4AAA 0050 tst.l [A2 + 0x50]
0000320E 6740 beq +0x42 /* 00003250 */
00003210 206A 0050 movea.l A0, [A2 + 0x50]
00003214 2650 movea.l A3, [A0]
00003216 206F 0014 movea.l A0, [A7 + 0x14]
0000321A 2550 0040 move.l [A2 + 0x40], [A0]
0000321E 2568 0004 0044 move.l [A2 + 0x44], [A0 + 0x4]
00003224 2750 0018 move.l [A3 + 0x18], [A0]
00003228 2768 0004 001C move.l [A3 + 0x1C], [A0 + 0x4]
0000322E 2750 0008 move.l [A3 + 0x8], [A0]
00003232 2768 0004 000C move.l [A3 + 0xC], [A0 + 0x4]
00003238 2F0C move.l -[A7], A4
0000323A 4EAD DD40 jsr [A5 - 0x22C0]
0000323E 1F3C 0001 move.b -[A7], 0x1
00003242 2F0A move.l -[A7], A2
00003244 4EBA 0E94 jsr [PC + 0xE94 /* 000040DA */]
00003248 4EAD DD48 jsr [A5 - 0x22B8]
0000324C 4FEF 000A lea.l A7, [A7 + 0xA]
label00003250:
00003250 1F3C 0002 move.b -[A7], 0x2
00003254 42A7 clr.l -[A7]
00003256 2F0C move.l -[A7], A4
00003258 4EAD E830 jsr [A5 - 0x17D0]
0000325C 4FEF 000A lea.l A7, [A7 + 0xA]
00003260 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00003264 4E75 rts
00003266 48E7 1E38 movem.l -[A7], D3,D4,D5,D6,A2,A3,A4
0000326A 4FEF FF30 lea.l A7, [A7 - 0xD0]
0000326E 246F 00F0 movea.l A2, [A7 + 0xF0]
00003272 3A2F 00F4 move.w D5, [A7 + 0xF4]
00003276 41ED 9D76 lea.l A0, [A5 - 0x628A]
0000327A 43EF 0014 lea.l A1, [A7 + 0x14]
0000327E 702E moveq.l D0, 0x2E
label00003280:
00003280 22D8 move.l [A1]+, [A0]+
00003282 51C8 FFFC dbf D0, -0x6 /* 00003280 */
00003286 2F2A 0048 move.l -[A7], [A2 + 0x48]
0000328A 4EAD E848 jsr [A5 - 0x17B8]
0000328E 1600 move.b D3, D0
00003290 4AAD 9D72 tst.l [A5 - 0x628E]
00003294 584F addq.w A7, 4
00003296 6614 bne +0x16 /* 000032AC */
00003298 486D E9C0 pea.l [A5 - 0x1640]
0000329C 486D EB40 pea.l [A5 - 0x14C0]
000032A0 4EAD DCD0 jsr [A5 - 0x2330]
000032A4 7001 moveq.l D0, 0x01
000032A6 2B40 9D72 move.l [A5 - 0x628E], D0
000032AA 504F addq.w A7, 8
label000032AC:
000032AC 257C 544F 5043 004C move.l [A2 + 0x4C], 0x544F5043 /* 'TOPC' */
000032B4 2F3C 4350 4E4C move.l -[A7], 0x43504E4C /* 'CPNL' */
000032BA 2F2A 0048 move.l -[A7], [A2 + 0x48]
000032BE 4EAD E828 jsr [A5 - 0x17D8]
000032C2 2F40 00BE move.l [A7 + 0xBE], D0
000032C6 3F45 00CE move.w [A7 + 0xCE], D5
000032CA 4AAA 0054 tst.l [A2 + 0x54]
000032CE 504F addq.w A7, 8
000032D0 6732 beq +0x34 /* 00003304 */
000032D2 486F 0042 pea.l [A7 + 0x42]
000032D6 4EBA DF50 jsr [PC - 0x20B0 /* 00001228 */]
000032DA 2F6F 0046 0020 move.l [A7 + 0x20], [A7 + 0x46]
000032E0 2F6F 004A 0024 move.l [A7 + 0x24], [A7 + 0x4A]
000032E6 302F 005C move.w D0, [A7 + 0x5C]
000032EA 7201 moveq.l D1, 0x01
000032EC C081 and.l D0, D1
000032EE 56C0 sne D0
000032F0 4400 neg.b D0
000032F2 4880 ext.w D0
000032F4 48C0 ext.l D0
000032F6 2F40 00BE move.l [A7 + 0xBE], D0
000032FA 42AF 00C2 clr.l [A7 + 0xC2]
000032FE 584F addq.w A7, 4
00003300 6000 00AA bra +0xAC /* 000033AC */
label00003304:
00003304 1F3C 0009 move.b -[A7], 0x9 /* '\t' */
00003308 2F2A 0048 move.l -[A7], [A2 + 0x48]
0000330C 4EAD E818 jsr [A5 - 0x17E8]
00003310 2810 move.l D4, [A0]
00003312 2F04 move.l -[A7], D4
00003314 3F05 move.w -[A7], D5
00003316 4EAD E2D0 jsr [A5 - 0x1D30]
0000331A 1C00 move.b D6, D0
0000331C 486F 001C pea.l [A7 + 0x1C]
00003320 486F 00DE pea.l [A7 + 0xDE]
00003324 486F 00E0 pea.l [A7 + 0xE0]
00003328 486F 0020 pea.l [A7 + 0x20]
0000332C 2F04 move.l -[A7], D4
0000332E 3F05 move.w -[A7], D5
00003330 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003334 4EAD E2C8 jsr [A5 - 0x1D38]
00003338 2F6F 0036 00E0 move.l [A7 + 0xE0], [A7 + 0x36]
0000333E 2F6F 002E 0042 move.l [A7 + 0x42], [A7 + 0x2E]
00003344 2F6F 0032 0046 move.l [A7 + 0x46], [A7 + 0x32]
0000334A 1006 move.b D0, D6
0000334C 7204 moveq.l D1, 0x04
0000334E C081 and.l D0, D1
00003350 57C0 seq D0
00003352 4400 neg.b D0
00003354 4880 ext.w D0
00003356 48C0 ext.l D0
00003358 2F40 00E4 move.l [A7 + 0xE4], D0
0000335C 42A7 clr.l -[A7]
0000335E 486F 00E8 pea.l [A7 + 0xE8]
00003362 486F 00E8 pea.l [A7 + 0xE8]
00003366 486F 0100 pea.l [A7 + 0x100]
0000336A 486F 0102 pea.l [A7 + 0x102]
0000336E 2F04 move.l -[A7], D4
00003370 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003374 4EAD E8B8 jsr [A5 - 0x1748]
00003378 4AAD B650 tst.l [A5 - 0x49B0]
0000337C 4FEF 0042 lea.l A7, [A7 + 0x42]
00003380 672A beq +0x2C /* 000033AC */
00003382 4A03 tst.b D3
00003384 6706 beq +0x8 /* 0000338C */
00003386 0C03 0002 cmpi.b D3, 0x2
0000338A 6620 bne +0x22 /* 000033AC */
label0000338C:
0000338C 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003390 4EAD E570 jsr [A5 - 0x1A90]
00003394 2F48 00B6 move.l [A7 + 0xB6], A0
00003398 4AAF 00B6 tst.l [A7 + 0xB6]
0000339C 584F addq.w A7, 4
0000339E 660C bne +0xE /* 000033AC */
000033A0 7094 moveq.l D0, 0xFFFFFF94
000033A2 4FEF 00D0 lea.l A7, [A7 + 0xD0]
000033A6 4CDF 1C78 movem.l D3,D4,D5,D6,A2,A3,A4, [A7]+
000033AA 4E75 rts
label000033AC:
000033AC 554F subq.w A7, 2
000033AE 486F 001E pea.l [A7 + 0x1E]
000033B2 A8AE syscall EmptyRect
000033B4 101F move.b D0, [A7]+
000033B6 6738 beq +0x3A /* 000033F0 */
000033B8 594F subq.w A7, 4
000033BA 2EB8 09EE move.l [A7], [0x000009EE /* GrayRgn */]
000033BE 205F movea.l A0, [A7]+
000033C0 2848 movea.l A4, A0
000033C2 2654 movea.l A3, [A4]
000033C4 548B addq.l A3, 2
000033C6 426F 001C clr.w [A7 + 0x1C]
000033CA 426F 001E clr.w [A7 + 0x1E]
000033CE 302B 0002 move.w D0, [A3 + 0x2]
000033D2 48C0 ext.l D0
000033D4 322B 0006 move.w D1, [A3 + 0x6]
000033D8 48C1 ext.l D1
000033DA 9280 sub.l D1, D0
000033DC 3F41 0022 move.w [A7 + 0x22], D1
000033E0 3013 move.w D0, [A3]
000033E2 48C0 ext.l D0
000033E4 322B 0004 move.w D1, [A3 + 0x4]
000033E8 48C1 ext.l D1
000033EA 9280 sub.l D1, D0
000033EC 3F41 0020 move.w [A7 + 0x20], D1
label000033F0:
000033F0 2F6F 001C 002C move.l [A7 + 0x2C], [A7 + 0x1C]
000033F6 2F6F 0020 0030 move.l [A7 + 0x30], [A7 + 0x20]
000033FC 0C03 0001 cmpi.b D3, 0x1
00003400 660A bne +0xC /* 0000340C */
00003402 486F 0034 pea.l [A7 + 0x34]
00003406 4EBA E1BA jsr [PC - 0x1E46 /* 000015C2 */]
0000340A 584F addq.w A7, 4
label0000340C:
0000340C 594F subq.w A7, 4
0000340E A8D8 syscall NewRgn
00003410 205F movea.l A0, [A7]+
00003412 2F48 008A move.l [A7 + 0x8A], A0
00003416 554F subq.w A7, 2
00003418 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
0000341C 301F move.w D0, [A7]+
0000341E 3800 move.w D4, D0
00003420 671C beq +0x1E /* 0000343E */
00003422 4AAF 00B2 tst.l [A7 + 0xB2]
00003426 670A beq +0xC /* 00003432 */
00003428 2F2F 00B2 move.l -[A7], [A7 + 0xB2]
0000342C 4EAD E578 jsr [A5 - 0x1A88]
00003430 584F addq.w A7, 4
label00003432:
00003432 3004 move.w D0, D4
00003434 4FEF 00D0 lea.l A7, [A7 + 0xD0]
00003438 4CDF 1C78 movem.l D3,D4,D5,D6,A2,A3,A4, [A7]+
0000343C 4E75 rts
label0000343E:
0000343E 4AAA 0054 tst.l [A2 + 0x54]
00003442 6614 bne +0x16 /* 00003458 */
00003444 0C03 0001 cmpi.b D3, 0x1
00003448 670E beq +0x10 /* 00003458 */
0000344A 486F 0014 pea.l [A7 + 0x14]
0000344E 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003452 4EBA 1014 jsr [PC + 0x1014 /* 00004468 */]
00003456 504F addq.w A7, 8
label00003458:
00003458 4857 pea.l [A7]
0000345A 486F 0008 pea.l [A7 + 0x8]
0000345E 3F05 move.w -[A7], D5
00003460 4EAD E248 jsr [A5 - 0x1DB8]
00003464 102F 0011 move.b D0, [A7 + 0x11]
00003468 ED08 lsl D0.b, 6
0000346A 0200 0040 andi.b D0, 0x40 /* '@' */
0000346E 022F 00BF 00CC andi.b [A7 + 0xCC], 0xBF
00003474 812F 00CC or.b [A7 + 0xCC], D0
00003478 102F 000D move.b D0, [A7 + 0xD]
0000347C EB08 lsl D0.b, 5
0000347E 0200 0020 andi.b D0, 0x20 /* ' ' */
00003482 022F 00DF 00CC andi.b [A7 + 0xCC], 0xDF
00003488 812F 00CC or.b [A7 + 0xCC], D0
0000348C 486F 001E pea.l [A7 + 0x1E]
00003490 486A 0050 pea.l [A2 + 0x50]
00003494 4878 00BC push.l 0xBC
00003498 4EAD DA36 jsr [A5 - 0x25CA]
0000349C 301F move.w D0, [A7]+
0000349E 3800 move.w D4, D0
000034A0 4A44 tst.w D4
000034A2 504F addq.w A7, 8
000034A4 670E beq +0x10 /* 000034B4 */
000034A6 486F 0014 pea.l [A7 + 0x14]
000034AA 2F0A move.l -[A7], A2
000034AC 4EBA 1890 jsr [PC + 0x1890 /* 00004D3E */]
000034B0 504F addq.w A7, 8
000034B2 600C bra +0xE /* 000034C0 */
label000034B4:
000034B4 486F 0014 pea.l [A7 + 0x14]
000034B8 2F0A move.l -[A7], A2
000034BA 4EBA 2818 jsr [PC + 0x2818 /* 00005CD4 */]
000034BE 504F addq.w A7, 8
label000034C0:
000034C0 3004 move.w D0, D4
000034C2 4FEF 00D0 lea.l A7, [A7 + 0xD0]
000034C6 4CDF 1C78 movem.l D3,D4,D5,D6,A2,A3,A4, [A7]+
000034CA 4E75 rts
000034CC 48E7 0030 movem.l -[A7], A2,A3
000034D0 246F 000C movea.l A2, [A7 + 0xC]
000034D4 4878 0001 push.l 0x1
000034D8 2F2A 0048 move.l -[A7], [A2 + 0x48]
000034DC 4EAD E480 jsr [A5 - 0x1B80]
000034E0 4AAA 0050 tst.l [A2 + 0x50]
000034E4 504F addq.w A7, 8
000034E6 675C beq +0x5E /* 00003544 */
000034E8 2F2A 0050 move.l -[A7], [A2 + 0x50]
000034EC 4EAD DD80 jsr [A5 - 0x2280]
000034F0 2648 movea.l A3, A0
000034F2 2F2A 0048 move.l -[A7], [A2 + 0x48]
000034F6 4EAD E848 jsr [A5 - 0x17B8]
000034FA 5300 subq.b D0, 1
000034FC 504F addq.w A7, 8
000034FE 660C bne +0xE /* 0000350C */
00003500 2F0B move.l -[A7], A3
00003502 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003506 4EBA E0E8 jsr [PC - 0x1F18 /* 000015F0 */]
0000350A 504F addq.w A7, 8
label0000350C:
0000350C 4A6D B48A tst.w [A5 - 0x4B76]
00003510 6718 beq +0x1A /* 0000352A */
00003512 4AAA 0054 tst.l [A2 + 0x54]
00003516 6612 bne +0x14 /* 0000352A */
00003518 4878 0001 push.l 0x1
0000351C 42A7 clr.l -[A7]
0000351E 2F0B move.l -[A7], A3
00003520 2F0A move.l -[A7], A2
00003522 4EBA 3054 jsr [PC + 0x3054 /* 00006578 */]
00003526 4FEF 0010 lea.l A7, [A7 + 0x10]
label0000352A:
0000352A 2F0B move.l -[A7], A3
0000352C 2F0A move.l -[A7], A2
0000352E 4EBA 180E jsr [PC + 0x180E /* 00004D3E */]
00003532 2F2A 0050 move.l -[A7], [A2 + 0x50]
00003536 4EAD DD88 jsr [A5 - 0x2278]
0000353A 206A 0050 movea.l A0, [A2 + 0x50]
0000353E A023 syscall DisposHandle/DisposeHandle
00003540 4FEF 000C lea.l A7, [A7 + 0xC]
label00003544:
00003544 4CDF 0C00 movem.l A2,A3, [A7]+
00003548 4E75 rts
0000354A 48E7 0030 movem.l -[A7], A2,A3
0000354E 4FEF FFF0 lea.l A7, [A7 - 0x10]
00003552 246F 001C movea.l A2, [A7 + 0x1C]
00003556 7000 moveq.l D0, 0x00
00003558 102D 81A0 move.b D0, [A5 - 0x7E60]
0000355C 7202 moveq.l D1, 0x02
0000355E B081 cmp.l D0, D1
00003560 6C10 bge +0x12 /* 00003572 */
00003562 486A 0040 pea.l [A2 + 0x40]
00003566 A8A3 syscall EraseRect
00003568 4FEF 0010 lea.l A7, [A7 + 0x10]
0000356C 4CDF 0C00 movem.l A2,A3, [A7]+
00003570 4E75 rts
label00003572:
00003572 2F2A 0050 move.l -[A7], [A2 + 0x50]
00003576 4EAD DD80 jsr [A5 - 0x2280]
0000357A 2648 movea.l A3, A0
0000357C 4EAD DD70 jsr [A5 - 0x2290]
00003580 42A7 clr.l -[A7]
00003582 2F0A move.l -[A7], A2
00003584 4EBA 3B42 jsr [PC + 0x3B42 /* 000070C8 */]
00003588 4AAB 008E tst.l [A3 + 0x8E]
0000358C 4FEF 000C lea.l A7, [A7 + 0xC]
00003590 6726 beq +0x28 /* 000035B8 */
00003592 1F3C 0001 move.b -[A7], 0x1
00003596 486F 0002 pea.l [A7 + 0x2]
0000359A 2F0B move.l -[A7], A3
0000359C 2F0A move.l -[A7], A2
0000359E 4EBA 1630 jsr [PC + 0x1630 /* 00004BD0 */]
000035A2 1F3C 0002 move.b -[A7], 0x2
000035A6 2F0B move.l -[A7], A3
000035A8 2F0A move.l -[A7], A2
000035AA 4EBA 3436 jsr [PC + 0x3436 /* 000069E2 */]
000035AE 486F 0018 pea.l [A7 + 0x18]
000035B2 A8A3 syscall EraseRect
000035B4 4FEF 0018 lea.l A7, [A7 + 0x18]
label000035B8:
000035B8 4227 clr.b -[A7]
000035BA 486F 000A pea.l [A7 + 0xA]
000035BE 2F0B move.l -[A7], A3
000035C0 2F0A move.l -[A7], A2
000035C2 4EBA 160C jsr [PC + 0x160C /* 00004BD0 */]
000035C6 1F3C 0001 move.b -[A7], 0x1
000035CA 2F0B move.l -[A7], A3
000035CC 2F0A move.l -[A7], A2
000035CE 4EBA 3412 jsr [PC + 0x3412 /* 000069E2 */]
000035D2 4AAA 0054 tst.l [A2 + 0x54]
000035D6 4FEF 0018 lea.l A7, [A7 + 0x18]
000035DA 6616 bne +0x18 /* 000035F2 */
000035DC 4AAB 009A tst.l [A3 + 0x9A]
000035E0 670C beq +0xE /* 000035EE */
000035E2 206B 009A movea.l A0, [A3 + 0x9A]
000035E6 2050 movea.l A0, [A0]
000035E8 4A28 0010 tst.b [A0 + 0x10]
000035EC 6604 bne +0x6 /* 000035F2 */
label000035EE:
000035EE 526F 000E addq.w [A7 + 0xE], 1
label000035F2:
000035F2 486F 0008 pea.l [A7 + 0x8]
000035F6 A8A3 syscall EraseRect
000035F8 2F0B move.l -[A7], A3
000035FA 2F0A move.l -[A7], A2
000035FC 4EBA 3DEC jsr [PC + 0x3DEC /* 000073EA */]
00003600 4EAD DD58 jsr [A5 - 0x22A8]
00003604 4EAD DD78 jsr [A5 - 0x2288]
00003608 2F2A 0050 move.l -[A7], [A2 + 0x50]
0000360C 4EAD DD88 jsr [A5 - 0x2278]
00003610 4FEF 001C lea.l A7, [A7 + 0x1C]
00003614 4CDF 0C00 movem.l A2,A3, [A7]+
00003618 4E75 rts
0000361A 48E7 0030 movem.l -[A7], A2,A3
0000361E 4FEF FFDC lea.l A7, [A7 - 0x24]
00003622 266F 0030 movea.l A3, [A7 + 0x30]
00003626 4AAB 0050 tst.l [A3 + 0x50]
0000362A 6700 0114 beq +0x116 /* 00003740 */
0000362E 2F2B 0050 move.l -[A7], [A3 + 0x50]
00003632 4EAD DD80 jsr [A5 - 0x2280]
00003636 2448 movea.l A2, A0
00003638 2F0A move.l -[A7], A2
0000363A 2F0B move.l -[A7], A3
0000363C 4EBA 175A jsr [PC + 0x175A /* 00004D98 */]
00003640 1F3C 0002 move.b -[A7], 0x2
00003644 2F0A move.l -[A7], A2
00003646 2F0B move.l -[A7], A3
00003648 4EBA 1BEE jsr [PC + 0x1BEE /* 00005238 */]
0000364C 2F0A move.l -[A7], A2
0000364E 2F0B move.l -[A7], A3
00003650 4EBA 309C jsr [PC + 0x309C /* 000066EE */]
00003654 2F6B 0040 0032 move.l [A7 + 0x32], [A3 + 0x40]
0000365A 2F6B 0044 0036 move.l [A7 + 0x36], [A3 + 0x44]
00003660 486F 0032 pea.l [A7 + 0x32]
00003664 4878 FFFF push.l 0xFFFF
00003668 A8A9 syscall InsetRect
0000366A 486F 0032 pea.l [A7 + 0x32]
0000366E 4EAD DD50 jsr [A5 - 0x22B0]
00003672 2F2A 0096 move.l -[A7], [A2 + 0x96]
00003676 4EBA E28E jsr [PC - 0x1D72 /* 00001906 */]
0000367A 2F2A 009A move.l -[A7], [A2 + 0x9A]
0000367E 4EBA E286 jsr [PC - 0x1D7A /* 00001906 */]
00003682 4AAA 009A tst.l [A2 + 0x9A]
00003686 4FEF 002A lea.l A7, [A7 + 0x2A]
0000368A 6756 beq +0x58 /* 000036E2 */
0000368C 206A 009A movea.l A0, [A2 + 0x9A]
00003690 2050 movea.l A0, [A0]
00003692 4A28 0010 tst.b [A0 + 0x10]
00003696 674A beq +0x4C /* 000036E2 */
00003698 1F3C 0014 move.b -[A7], 0x14
0000369C 2F2B 0048 move.l -[A7], [A3 + 0x48]
000036A0 4EAD E818 jsr [A5 - 0x17E8]
000036A4 4A90 tst.l [A0]
000036A6 5C4F addq.w A7, 6
000036A8 6738 beq +0x3A /* 000036E2 */
000036AA 302A 0016 move.w D0, [A2 + 0x16]
000036AE 48C0 ext.l D0
000036B0 72F1 moveq.l D1, 0xFFFFFFF1
000036B2 D081 add.l D0, D1
000036B4 3F40 001E move.w [A7 + 0x1E], D0
000036B8 48C0 ext.l D0
000036BA 7210 moveq.l D1, 0x10
000036BC D081 add.l D0, D1
000036BE 3F40 0022 move.w [A7 + 0x22], D0
000036C2 206A 009A movea.l A0, [A2 + 0x9A]
000036C6 2050 movea.l A0, [A0]
000036C8 3028 000C move.w D0, [A0 + 0xC]
000036CC 48C0 ext.l D0
000036CE 5380 subq.l D0, 1
000036D0 3F40 001C move.w [A7 + 0x1C], D0
000036D4 48C0 ext.l D0
000036D6 D081 add.l D0, D1
000036D8 3F40 0020 move.w [A7 + 0x20], D0
000036DC 486F 001C pea.l [A7 + 0x1C]
000036E0 A8A1 syscall FrameRect
label000036E2:
000036E2 4EAD DD58 jsr [A5 - 0x22A8]
000036E6 2F6A 00A6 0010 move.l [A7 + 0x10], [A2 + 0xA6]
000036EC 4AAB 0054 tst.l [A3 + 0x54]
000036F0 6622 bne +0x24 /* 00003714 */
000036F2 42A7 clr.l -[A7]
000036F4 486F 0004 pea.l [A7 + 0x4]
000036F8 486F 0018 pea.l [A7 + 0x18]
000036FC 486F 0012 pea.l [A7 + 0x12]
00003700 486F 0014 pea.l [A7 + 0x14]
00003704 4878 FFFF push.l 0xFFFF
00003708 2F2B 0048 move.l -[A7], [A3 + 0x48]
0000370C 4EAD E8B8 jsr [A5 - 0x1748]
00003710 4FEF 001C lea.l A7, [A7 + 0x1C]
label00003714:
00003714 4AAF 0010 tst.l [A7 + 0x10]
00003718 671C beq +0x1E /* 00003736 */
0000371A 2F6A 0010 0008 move.l [A7 + 0x8], [A2 + 0x10]
00003720 2F6A 0014 000C move.l [A7 + 0xC], [A2 + 0x14]
00003726 486F 0008 pea.l [A7 + 0x8]
0000372A 4878 FFFF push.l 0xFFFF
0000372E A8A9 syscall InsetRect
00003730 486F 0008 pea.l [A7 + 0x8]
00003734 A8A1 syscall FrameRect
label00003736:
00003736 2F2B 0050 move.l -[A7], [A3 + 0x50]
0000373A 4EAD DD88 jsr [A5 - 0x2278]
0000373E 584F addq.w A7, 4
label00003740:
00003740 4FEF 0024 lea.l A7, [A7 + 0x24]
00003744 4CDF 0C00 movem.l A2,A3, [A7]+
00003748 4E75 rts
0000374A 48E7 0030 movem.l -[A7], A2,A3
0000374E 514F subq.w A7, 8
00003750 266F 0014 movea.l A3, [A7 + 0x14]
00003754 2F2B 0050 move.l -[A7], [A3 + 0x50]
00003758 4EAD DD80 jsr [A5 - 0x2280]
0000375C 2448 movea.l A2, A0
0000375E 2F2B 0048 move.l -[A7], [A3 + 0x48]
00003762 4EAD E848 jsr [A5 - 0x17B8]
00003766 5300 subq.b D0, 1
00003768 504F addq.w A7, 8
0000376A 6608 bne +0xA /* 00003774 */
0000376C 2F2B 0048 move.l -[A7], [A3 + 0x48]
00003770 4EAD DF80 jsr [A5 - 0x2080]
label00003774:
00003774 2F2B 0048 move.l -[A7], [A3 + 0x48]
00003778 4EAD DD40 jsr [A5 - 0x22C0]
0000377C 4AAA 0096 tst.l [A2 + 0x96]
00003780 584F addq.w A7, 4
00003782 6720 beq +0x22 /* 000037A4 */
00003784 206A 0096 movea.l A0, [A2 + 0x96]
00003788 2050 movea.l A0, [A0]
0000378A 4A28 0010 tst.b [A0 + 0x10]
0000378E 6714 beq +0x16 /* 000037A4 */
00003790 206A 0096 movea.l A0, [A2 + 0x96]
00003794 2050 movea.l A0, [A0]
00003796 2EA8 0008 move.l [A7], [A0 + 0x8]
0000379A 2F68 000C 0004 move.l [A7 + 0x4], [A0 + 0xC]
000037A0 4857 pea.l [A7]
000037A2 A928 syscall InvalRect
label000037A4:
000037A4 4AAA 009A tst.l [A2 + 0x9A]
000037A8 6720 beq +0x22 /* 000037CA */
000037AA 206A 009A movea.l A0, [A2 + 0x9A]
000037AE 2050 movea.l A0, [A0]
000037B0 4A28 0010 tst.b [A0 + 0x10]
000037B4 6714 beq +0x16 /* 000037CA */
000037B6 206A 009A movea.l A0, [A2 + 0x9A]
000037BA 2050 movea.l A0, [A0]
000037BC 2EA8 0008 move.l [A7], [A0 + 0x8]
000037C0 2F68 000C 0004 move.l [A7 + 0x4], [A0 + 0xC]
000037C6 4857 pea.l [A7]
000037C8 A928 syscall InvalRect
label000037CA:
000037CA 4EAD DD48 jsr [A5 - 0x22B8]
000037CE 2F2B 0050 move.l -[A7], [A3 + 0x50]
000037D2 4EAD DD88 jsr [A5 - 0x2278]
000037D6 4FEF 000C lea.l A7, [A7 + 0xC]
000037DA 4CDF 0C00 movem.l A2,A3, [A7]+
000037DE 4E75 rts
000037E0 2F0A move.l -[A7], A2
000037E2 246F 0008 movea.l A2, [A7 + 0x8]
000037E6 42A7 clr.l -[A7]
000037E8 2F2A 0050 move.l -[A7], [A2 + 0x50]
000037EC 4EAD DD80 jsr [A5 - 0x2280]
000037F0 584F addq.w A7, 4
000037F2 2F08 move.l -[A7], A0
000037F4 2F0A move.l -[A7], A2
000037F6 4EBA 2CF0 jsr [PC + 0x2CF0 /* 000064E8 */]
000037FA 2F2A 0050 move.l -[A7], [A2 + 0x50]
000037FE 4EAD DD88 jsr [A5 - 0x2278]
00003802 4FEF 0010 lea.l A7, [A7 + 0x10]
00003806 245F movea.l A2, [A7]+
00003808 4E75 rts
0000380A 48E7 0030 movem.l -[A7], A2,A3
0000380E 266F 000C movea.l A3, [A7 + 0xC]
00003812 7000 moveq.l D0, 0x00
00003814 102D 81A0 move.b D0, [A5 - 0x7E60]
00003818 7202 moveq.l D1, 0x02
0000381A B081 cmp.l D0, D1
0000381C 6D46 blt +0x48 /* 00003864 */
0000381E 2F2B 0050 move.l -[A7], [A3 + 0x50]
00003822 4EAD DD80 jsr [A5 - 0x2280]
00003826 2448 movea.l A2, A0
00003828 4AAA 008E tst.l [A2 + 0x8E]
0000382C 584F addq.w A7, 4
0000382E 670E beq +0x10 /* 0000383E */
00003830 2F2A 008E move.l -[A7], [A2 + 0x8E]
00003834 2F2B 0048 move.l -[A7], [A3 + 0x48]
00003838 4EAD DAA8 jsr [A5 - 0x2558]
0000383C 504F addq.w A7, 8
label0000383E:
0000383E 4AAA 0092 tst.l [A2 + 0x92]
00003842 670E beq +0x10 /* 00003852 */
00003844 2F2A 0092 move.l -[A7], [A2 + 0x92]
00003848 2F2B 0048 move.l -[A7], [A3 + 0x48]
0000384C 4EAD DAA8 jsr [A5 - 0x2558]
00003850 504F addq.w A7, 8
label00003852:
00003852 2F2B 0050 move.l -[A7], [A3 + 0x50]
00003856 4EAD DD88 jsr [A5 - 0x2278]
0000385A 2F2B 0048 move.l -[A7], [A3 + 0x48]
0000385E 4EAD E3B0 jsr [A5 - 0x1C50]
00003862 504F addq.w A7, 8
label00003864:
00003864 4CDF 0C00 movem.l A2,A3, [A7]+
00003868 4E75 rts
0000386A 48E7 1030 movem.l -[A7], D3,A2,A3
0000386E 514F subq.w A7, 8
00003870 266F 0018 movea.l A3, [A7 + 0x18]
00003874 262F 001C move.l D3, [A7 + 0x1C]
00003878 2F2B 0050 move.l -[A7], [A3 + 0x50]
0000387C 4EAD DD80 jsr [A5 - 0x2280]
00003880 2448 movea.l A2, A0
00003882 4A83 tst.l D3
00003884 584F addq.w A7, 4
00003886 660E bne +0x10 /* 00003896 */
00003888 42A7 clr.l -[A7]
0000388A 2F0A move.l -[A7], A2
0000388C 2F0B move.l -[A7], A3
0000388E 4EBA 2C58 jsr [PC + 0x2C58 /* 000064E8 */]
00003892 4FEF 000C lea.l A7, [A7 + 0xC]
label00003896:
00003896 2F2A 0096 move.l -[A7], [A2 + 0x96]
0000389A 4EBA E1B2 jsr [PC - 0x1E4E /* 00001A4E */]
0000389E 2F2A 009A move.l -[A7], [A2 + 0x9A]
000038A2 4EBA E1AA jsr [PC - 0x1E56 /* 00001A4E */]
000038A6 4AAA 0070 tst.l [A2 + 0x70]
000038AA 504F addq.w A7, 8
000038AC 6756 beq +0x58 /* 00003904 */
000038AE 2EAA 0048 move.l [A7], [A2 + 0x48]
000038B2 2F6A 004C 0004 move.l [A7 + 0x4], [A2 + 0x4C]
000038B8 4A2A 0069 tst.b [A2 + 0x69]
000038BC 672E beq +0x30 /* 000038EC */
000038BE 4857 pea.l [A7]
000038C0 2F0A move.l -[A7], A2
000038C2 4EBA 2B82 jsr [PC + 0x2B82 /* 00006446 */]
000038C6 4480 neg.l D0
000038C8 322A 0012 move.w D1, [A2 + 0x12]
000038CC 48C1 ext.l D1
000038CE D280 add.l D1, D0
000038D0 584F addq.w A7, 4
000038D2 3F01 move.w -[A7], D1
000038D4 2F0A move.l -[A7], A2
000038D6 4EBA 2B8C jsr [PC + 0x2B8C /* 00006464 */]
000038DA 4480 neg.l D0
000038DC 322A 0010 move.w D1, [A2 + 0x10]
000038E0 48C1 ext.l D1
000038E2 D280 add.l D1, D0
000038E4 584F addq.w A7, 4
000038E6 3F01 move.w -[A7], D1
000038E8 A8A8 syscall OffsetRect
000038EA 600A bra +0xC /* 000038F6 */
label000038EC:
000038EC 4857 pea.l [A7]
000038EE 4267 clr.w -[A7]
000038F0 3F2A 0010 move.w -[A7], [A2 + 0x10]
000038F4 A8A8 syscall OffsetRect
label000038F6:
000038F6 4857 pea.l [A7]
000038F8 4878 FFFF push.l 0xFFFF
000038FC A8A9 syscall InsetRect
000038FE 4857 pea.l [A7]
00003900 A928 syscall InvalRect
00003902 6014 bra +0x16 /* 00003918 */
label00003904:
00003904 554F subq.w A7, 2
00003906 2F2A 0076 move.l -[A7], [A2 + 0x76]
0000390A A8E2 syscall EmptyRgn
0000390C 101F move.b D0, [A7]+
0000390E 6608 bne +0xA /* 00003918 */
00003910 2F0A move.l -[A7], A2
00003912 4EBA 2AA6 jsr [PC + 0x2AA6 /* 000063BA */]
00003916 584F addq.w A7, 4
label00003918:
00003918 2F03 move.l -[A7], D3
0000391A 2F2B 0048 move.l -[A7], [A3 + 0x48]
0000391E 4EAD E410 jsr [A5 - 0x1BF0]
00003922 4AAA 009E tst.l [A2 + 0x9E]
00003926 504F addq.w A7, 8
00003928 6710 beq +0x12 /* 0000393A */
0000392A 2F03 move.l -[A7], D3
0000392C 2F0B move.l -[A7], A3
0000392E 2F2A 009E move.l -[A7], [A2 + 0x9E]
00003932 4EAD E588 jsr [A5 - 0x1A78]
00003936 4FEF 000C lea.l A7, [A7 + 0xC]
label0000393A:
0000393A 2F2B 0050 move.l -[A7], [A3 + 0x50]
0000393E 4EAD DD88 jsr [A5 - 0x2278]
00003942 4A83 tst.l D3
00003944 584F addq.w A7, 4
00003946 6640 bne +0x42 /* 00003988 */
00003948 2F2B 0048 move.l -[A7], [A3 + 0x48]
0000394C 4EAD E848 jsr [A5 - 0x17B8]
00003950 5300 subq.b D0, 1
00003952 584F addq.w A7, 4
00003954 6632 bne +0x34 /* 00003988 */
00003956 594F subq.w A7, 4
00003958 206D 1342 movea.l A0, [A5 + 0x1342 /* export_612 */]
0000395C 4E90 jsr [A0]
0000395E 205F movea.l A0, [A7]+
00003960 2448 movea.l A2, A0
00003962 7601 moveq.l D3, 0x01
00003964 302A 006C move.w D0, [A2 + 0x6C]
00003968 B06D B416 cmp.w D0, [A5 - 0x4BEA]
0000396C 660E bne +0x10 /* 0000397C */
0000396E 2F0A move.l -[A7], A2
00003970 4EAD E848 jsr [A5 - 0x17B8]
00003974 5300 subq.b D0, 1
00003976 584F addq.w A7, 4
00003978 6602 bne +0x4 /* 0000397C */
0000397A 7600 moveq.l D3, 0x00
label0000397C:
0000397C 4A83 tst.l D3
0000397E 6708 beq +0xA /* 00003988 */
00003980 42A7 clr.l -[A7]
00003982 4EBA DCB2 jsr [PC - 0x234E /* 00001636 */]
00003986 584F addq.w A7, 4
label00003988:
00003988 504F addq.w A7, 8
0000398A 4CDF 0C08 movem.l D3,A2,A3, [A7]+
0000398E 4E75 rts
00003990 48E7 183A movem.l -[A7], D3,D4,A2,A3,A4,A6
00003994 4FEF FFB8 lea.l A7, [A7 - 0x48]
00003998 246F 0064 movea.l A2, [A7 + 0x64]
0000399C 2C6F 0068 movea.l A6, [A7 + 0x68]
000039A0 2F6E 000A 0044 move.l [A7 + 0x44], [A6 + 0xA]
000039A6 286A 0050 movea.l A4, [A2 + 0x50]
000039AA 42AD AB18 clr.l [A5 - 0x54E8]
000039AE 2F0C move.l -[A7], A4
000039B0 4EAD DD80 jsr [A5 - 0x2280]
000039B4 2648 movea.l A3, A0
000039B6 486F 0048 pea.l [A7 + 0x48]
000039BA A871 syscall GlobalToLocal
000039BC 2F2F 0048 move.l -[A7], [A7 + 0x48]
000039C0 2F2A 0048 move.l -[A7], [A2 + 0x48]
000039C4 486F 0028 pea.l [A7 + 0x28]
000039C8 A96C syscall FindControl
000039CA 301F move.w D0, [A7]+
000039CC 3800 move.w D4, D0
000039CE 544F addq.w A7, 2
000039D0 6760 beq +0x62 /* 00003A32 */
000039D2 206F 001C movea.l A0, [A7 + 0x1C]
000039D6 B1EB 0096 cmpa.l A0, [A3 + 0x96]
000039DA 6706 beq +0x8 /* 000039E2 */
000039DC B1EB 009A cmpa.l A0, [A3 + 0x9A]
000039E0 6650 bne +0x52 /* 00003A32 */
label000039E2:
000039E2 3004 move.w D0, D4
000039E4 48C0 ext.l D0
000039E6 0480 0000 0014 subi.l D0, 0x14
000039EC 0C80 0000 006D cmpi.l D0, 0x6D /* 'm' */
000039F2 6200 02AE bhi +0x2B0 /* 00003CA2 */
000039F6 5940 subq.w D0, 4
000039F8 6D22 blt +0x24 /* 00003A1C */
000039FA 0440 0069 subi.w D0, 0x69 /* 'i' */
000039FE 6D00 02A2 blt +0x2A4 /* 00003CA2 */
00003A02 4E71 nop
00003A04 2F2F 0044 move.l -[A7], [A7 + 0x44]
00003A08 2F2F 0020 move.l -[A7], [A7 + 0x20]
00003A0C 2F0B move.l -[A7], A3
00003A0E 2F0A move.l -[A7], A2
00003A10 4EBA 2126 jsr [PC + 0x2126 /* 00005B38 */]
00003A14 4FEF 0010 lea.l A7, [A7 + 0x10]
00003A18 6000 0288 bra +0x28A /* 00003CA2 */
label00003A1C:
00003A1C 554F subq.w A7, 2
00003A1E 2F2F 001E move.l -[A7], [A7 + 0x1E]
00003A22 2F2F 004A move.l -[A7], [A7 + 0x4A]
00003A26 486D EB38 pea.l [A5 - 0x14C8]
00003A2A A968 syscall TrackControl
00003A2C 301F move.w D0, [A7]+
00003A2E 6000 0272 bra +0x274 /* 00003CA2 */
label00003A32:
00003A32 4A6D B48A tst.w [A5 - 0x4B76]
00003A36 6700 012E beq +0x130 /* 00003B66 */
00003A3A 554F subq.w A7, 2
00003A3C 2F2F 0046 move.l -[A7], [A7 + 0x46]
00003A40 486B 0018 pea.l [A3 + 0x18]
00003A44 A8AD syscall PtInRect
00003A46 101F move.b D0, [A7]+
00003A48 6700 011C beq +0x11E /* 00003B66 */
00003A4C 486F 0010 pea.l [A7 + 0x10]
00003A50 2F2F 0048 move.l -[A7], [A7 + 0x48]
00003A54 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003A58 4EAD F668 jsr [A5 - 0x998]
00003A5C 1800 move.b D4, D0
00003A5E 4FEF 000C lea.l A7, [A7 + 0xC]
00003A62 6700 0102 beq +0x104 /* 00003B66 */
00003A66 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003A6A 4EAD DFA8 jsr [A5 - 0x2058]
00003A6E 2F2B 00A2 move.l -[A7], [A3 + 0xA2]
00003A72 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003A76 4EAD E5E0 jsr [A5 - 0x1A20]
00003A7A 42A7 clr.l -[A7]
00003A7C 2F2B 00A2 move.l -[A7], [A3 + 0xA2]
00003A80 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003A84 4EAD E5F8 jsr [A5 - 0x1A08]
00003A88 4227 clr.b -[A7]
00003A8A 486F 002E pea.l [A7 + 0x2E]
00003A8E 2F0B move.l -[A7], A3
00003A90 2F0A move.l -[A7], A2
00003A92 4EBA 113C jsr [PC + 0x113C /* 00004BD0 */]
00003A96 486F 003A pea.l [A7 + 0x3A]
00003A9A 4EAD DD50 jsr [A5 - 0x22B0]
00003A9E 42A7 clr.l -[A7]
00003AA0 2F0B move.l -[A7], A3
00003AA2 2F0A move.l -[A7], A2
00003AA4 4EBA 2002 jsr [PC + 0x2002 /* 00005AA8 */]
00003AA8 0C04 0002 cmpi.b D4, 0x2
00003AAC 4FEF 0036 lea.l A7, [A7 + 0x36]
00003AB0 6638 bne +0x3A /* 00003AEA */
00003AB2 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003AB6 4EAD DFA8 jsr [A5 - 0x2058]
00003ABA 486D DF98 pea.l [A5 - 0x2068]
00003ABE 486D EB48 pea.l [A5 - 0x14B8]
00003AC2 302E 000E move.w D0, [A6 + 0xE]
00003AC6 0280 0000 0200 andi.l D0, 0x200
00003ACC 2F00 move.l -[A7], D0
00003ACE 486F 0024 pea.l [A7 + 0x24]
00003AD2 2F2F 0058 move.l -[A7], [A7 + 0x58]
00003AD6 2F2F 0028 move.l -[A7], [A7 + 0x28]
00003ADA 4EAD F658 jsr [A5 - 0x9A8]
00003ADE 4EAD DD58 jsr [A5 - 0x22A8]
00003AE2 4FEF 001C lea.l A7, [A7 + 0x1C]
00003AE6 6000 01BA bra +0x1BC /* 00003CA2 */
label00003AEA:
00003AEA 302D 135E move.w D0, [A5 + 0x135E]
00003AEE 48C0 ext.l D0
00003AF0 0680 0000 0081 addi.l D0, 0x81
00003AF6 3F00 move.w -[A7], D0
00003AF8 302D 135E move.w D0, [A5 + 0x135E]
00003AFC 48C0 ext.l D0
00003AFE 0680 0000 008C addi.l D0, 0x8C
00003B04 3F00 move.w -[A7], D0
00003B06 2F2B 00A2 move.l -[A7], [A3 + 0xA2]
00003B0A 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003B0E 4EAD E600 jsr [A5 - 0x1A00]
00003B12 504F addq.w A7, 8
00003B14 2F08 move.l -[A7], A0
00003B16 486D DF98 pea.l [A5 - 0x2068]
00003B1A 486D EB48 pea.l [A5 - 0x14B8]
00003B1E 486F 0024 pea.l [A7 + 0x24]
00003B22 2F2F 0058 move.l -[A7], [A7 + 0x58]
00003B26 2F2F 0028 move.l -[A7], [A7 + 0x28]
00003B2A 4EAD F660 jsr [A5 - 0x9A0]
00003B2E 4EAD DD58 jsr [A5 - 0x22A8]
00003B32 1F3C 0002 move.b -[A7], 0x2
00003B36 2F0A move.l -[A7], A2
00003B38 4EBA 05A0 jsr [PC + 0x5A0 /* 000040DA */]
00003B3C 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003B40 4EAD F670 jsr [A5 - 0x990]
00003B44 2008 move.l D0, A0
00003B46 4FEF 0026 lea.l A7, [A7 + 0x26]
00003B4A 6600 0156 bne +0x158 /* 00003CA2 */
00003B4E 4878 0001 push.l 0x1
00003B52 2F2B 00A2 move.l -[A7], [A3 + 0xA2]
00003B56 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003B5A 4EAD E5F8 jsr [A5 - 0x1A08]
00003B5E 4FEF 000C lea.l A7, [A7 + 0xC]
00003B62 6000 013E bra +0x140 /* 00003CA2 */
label00003B66:
00003B66 2F0E move.l -[A7], A6
00003B68 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003B6C 4EAD E418 jsr [A5 - 0x1BE8]
00003B70 4A80 tst.l D0
00003B72 504F addq.w A7, 8
00003B74 6736 beq +0x38 /* 00003BAC */
00003B76 4AAD AB18 tst.l [A5 - 0x54E8]
00003B7A 6620 bne +0x22 /* 00003B9C */
00003B7C 4878 0001 push.l 0x1
00003B80 2F0B move.l -[A7], A3
00003B82 2F0A move.l -[A7], A2
00003B84 4EBA 2962 jsr [PC + 0x2962 /* 000064E8 */]
00003B88 4878 0001 push.l 0x1
00003B8C 2F2B 00A2 move.l -[A7], [A3 + 0xA2]
00003B90 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003B94 4EAD E5F8 jsr [A5 - 0x1A08]
00003B98 4FEF 0018 lea.l A7, [A7 + 0x18]
label00003B9C:
00003B9C 2F0C move.l -[A7], A4
00003B9E 4EAD DD88 jsr [A5 - 0x2278]
00003BA2 4FEF 004C lea.l A7, [A7 + 0x4C]
00003BA6 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
00003BAA 4E75 rts
label00003BAC:
00003BAC 4857 pea.l [A7]
00003BAE 486F 000C pea.l [A7 + 0xC]
00003BB2 486F 0028 pea.l [A7 + 0x28]
00003BB6 2F2F 0050 move.l -[A7], [A7 + 0x50]
00003BBA 2F0B move.l -[A7], A3
00003BBC 2F0A move.l -[A7], A2
00003BBE 4EBA 13F2 jsr [PC + 0x13F2 /* 00004FB2 */]
00003BC2 4A80 tst.l D0
00003BC4 4FEF 0018 lea.l A7, [A7 + 0x18]
00003BC8 677C beq +0x7E /* 00003C46 */
00003BCA 162F 0042 move.b D3, [A7 + 0x42]
00003BCE 4883 ext.w D3
00003BD0 48C3 ext.l D3
00003BD2 4A83 tst.l D3
00003BD4 6706 beq +0x8 /* 00003BDC */
00003BD6 7003 moveq.l D0, 0x03
00003BD8 B680 cmp.l D3, D0
00003BDA 6614 bne +0x16 /* 00003BF0 */
label00003BDC:
00003BDC 102B 00AE move.b D0, [A3 + 0xAE]
00003BE0 E300 asl D0.b, 1
00003BE2 EE00 asr D0.b, 7
00003BE4 56C0 sne D0
00003BE6 4400 neg.b D0
00003BE8 4880 ext.w D0
00003BEA 48C0 ext.l D0
00003BEC 2600 move.l D3, D0
00003BEE 6012 bra +0x14 /* 00003C02 */
label00003BF0:
00003BF0 102B 00AE move.b D0, [A3 + 0xAE]
00003BF4 E500 asl D0.b, 2
00003BF6 EE00 asr D0.b, 7
00003BF8 56C0 sne D0
00003BFA 4400 neg.b D0
00003BFC 4880 ext.w D0
00003BFE 48C0 ext.l D0
00003C00 2600 move.l D3, D0
label00003C02:
00003C02 4A83 tst.l D3
00003C04 6726 beq +0x28 /* 00003C2C */
00003C06 486F 0004 pea.l [A7 + 0x4]
00003C0A 486F 000C pea.l [A7 + 0xC]
00003C0E 2F2F 004C move.l -[A7], [A7 + 0x4C]
00003C12 486F 002C pea.l [A7 + 0x2C]
00003C16 2F0B move.l -[A7], A3
00003C18 2F0A move.l -[A7], A2
00003C1A 4EBA 21B8 jsr [PC + 0x21B8 /* 00005DD4 */]
00003C1E 4AAF 001C tst.l [A7 + 0x1C]
00003C22 4FEF 0018 lea.l A7, [A7 + 0x18]
00003C26 677A beq +0x7C /* 00003CA2 */
00003C28 99CC sub.l A4, A4
00003C2A 6076 bra +0x78 /* 00003CA2 */
label00003C2C:
00003C2C 99CC sub.l A4, A4
00003C2E 3F3C FFFF move.w -[A7], 0xFFFF
00003C32 42A7 clr.l -[A7]
00003C34 486F 0026 pea.l [A7 + 0x26]
00003C38 2F0B move.l -[A7], A3
00003C3A 2F0A move.l -[A7], A2
00003C3C 4EBA 22D2 jsr [PC + 0x22D2 /* 00005F10 */]
00003C40 4FEF 0012 lea.l A7, [A7 + 0x12]
00003C44 605C bra +0x5E /* 00003CA2 */
label00003C46:
00003C46 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003C4A 4EAD E848 jsr [A5 - 0x17B8]
00003C4E 5300 subq.b D0, 1
00003C50 584F addq.w A7, 4
00003C52 660A bne +0xC /* 00003C5E */
00003C54 42A7 clr.l -[A7]
00003C56 4EBA D9DE jsr [PC - 0x2622 /* 00001636 */]
00003C5A 584F addq.w A7, 4
00003C5C 6010 bra +0x12 /* 00003C6E */
label00003C5E:
00003C5E 4878 0001 push.l 0x1
00003C62 2F0B move.l -[A7], A3
00003C64 2F0A move.l -[A7], A2
00003C66 4EBA 2880 jsr [PC + 0x2880 /* 000064E8 */]
00003C6A 4FEF 000C lea.l A7, [A7 + 0xC]
label00003C6E:
00003C6E 4AAB 009E tst.l [A3 + 0x9E]
00003C72 672E beq +0x30 /* 00003CA2 */
00003C74 42A7 clr.l -[A7]
00003C76 4EAD DD50 jsr [A5 - 0x22B0]
00003C7A 486B 0018 pea.l [A3 + 0x18]
00003C7E 2F0A move.l -[A7], A2
00003C80 4EBA 29F8 jsr [PC + 0x29F8 /* 0000667A */]
00003C84 486D EB48 pea.l [A5 - 0x14B8]
00003C88 3F2E 000E move.w -[A7], [A6 + 0xE]
00003C8C 2F2F 0056 move.l -[A7], [A7 + 0x56]
00003C90 2F0A move.l -[A7], A2
00003C92 2F2B 009E move.l -[A7], [A3 + 0x9E]
00003C96 4EAD E580 jsr [A5 - 0x1A80]
00003C9A 4EAD DD58 jsr [A5 - 0x22A8]
00003C9E 4FEF 001E lea.l A7, [A7 + 0x1E]
label00003CA2:
00003CA2 200C move.l D0, A4
00003CA4 6708 beq +0xA /* 00003CAE */
00003CA6 2F0C move.l -[A7], A4
00003CA8 4EAD DD88 jsr [A5 - 0x2278]
00003CAC 584F addq.w A7, 4
label00003CAE:
00003CAE 4FEF 0048 lea.l A7, [A7 + 0x48]
00003CB2 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
00003CB6 4E75 rts
00003CB8 3F3C 0100 move.w -[A7], 0x100
00003CBC 1F2F 000A move.b -[A7], [A7 + 0xA]
00003CC0 206F 0008 movea.l A0, [A7 + 0x8]
00003CC4 2F28 0048 move.l -[A7], [A0 + 0x48]
00003CC8 4EAD E430 jsr [A5 - 0x1BD0]
00003CCC 504F addq.w A7, 8
00003CCE 4E75 rts
00003CD0 48E7 1C38 movem.l -[A7], D3,D4,D5,A2,A3,A4
00003CD4 4FEF FFE8 lea.l A7, [A7 - 0x18]
00003CD8 246F 0034 movea.l A2, [A7 + 0x34]
00003CDC 162F 0038 move.b D3, [A7 + 0x38]
00003CE0 3A2F 003A move.w D5, [A7 + 0x3A]
00003CE4 286A 0050 movea.l A4, [A2 + 0x50]
00003CE8 2F0C move.l -[A7], A4
00003CEA 4EAD DD80 jsr [A5 - 0x2280]
00003CEE 2648 movea.l A3, A0
00003CF0 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003CF4 4EAD E848 jsr [A5 - 0x17B8]
00003CF8 1800 move.b D4, D0
00003CFA 4A6D B48A tst.w [A5 - 0x4B76]
00003CFE 504F addq.w A7, 8
00003D00 6700 0082 beq +0x84 /* 00003D84 */
00003D04 0C03 001B cmpi.b D3, 0x1B
00003D08 677A beq +0x7C /* 00003D84 */
00003D0A 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003D0E 4EAD F670 jsr [A5 - 0x990]
00003D12 2008 move.l D0, A0
00003D14 584F addq.w A7, 4
00003D16 676C beq +0x6E /* 00003D84 */
00003D18 0C03 0009 cmpi.b D3, 0x9 /* '\t' */
00003D1C 6700 01CC beq +0x1CE /* 00003EEA */
00003D20 4227 clr.b -[A7]
00003D22 486F 000A pea.l [A7 + 0xA]
00003D26 2F0B move.l -[A7], A3
00003D28 2F0A move.l -[A7], A2
00003D2A 4EBA 0EA4 jsr [PC + 0xEA4 /* 00004BD0 */]
00003D2E 486F 0016 pea.l [A7 + 0x16]
00003D32 4EAD DD50 jsr [A5 - 0x22B0]
00003D36 1F03 move.b -[A7], D3
00003D38 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003D3C 4EAD F650 jsr [A5 - 0x9B0]
00003D40 4EAD DD58 jsr [A5 - 0x22A8]
00003D44 1F3C 0002 move.b -[A7], 0x2
00003D48 2F0A move.l -[A7], A2
00003D4A 4EBA 038E jsr [PC + 0x38E /* 000040DA */]
00003D4E 486F 002E pea.l [A7 + 0x2E]
00003D52 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003D56 4EAD F6C0 jsr [A5 - 0x940]
00003D5A 2F6F 0036 0026 move.l [A7 + 0x26], [A7 + 0x36]
00003D60 2F6F 003A 002A move.l [A7 + 0x2A], [A7 + 0x3A]
00003D66 4878 0001 push.l 0x1
00003D6A 42A7 clr.l -[A7]
00003D6C 4878 0020 push.l 0x20 /* ' ' */
00003D70 486F 0032 pea.l [A7 + 0x32]
00003D74 2F0B move.l -[A7], A3
00003D76 2F0A move.l -[A7], A2
00003D78 4EBA 17BC jsr [PC + 0x17BC /* 00005536 */]
00003D7C 4FEF 003E lea.l A7, [A7 + 0x3E]
00003D80 6000 0168 bra +0x16A /* 00003EEA */
label00003D84:
00003D84 3F05 move.w -[A7], D5
00003D86 1F03 move.b -[A7], D3
00003D88 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003D8C 4EAD E430 jsr [A5 - 0x1BD0]
00003D90 4A80 tst.l D0
00003D92 504F addq.w A7, 8
00003D94 6600 0154 bne +0x156 /* 00003EEA */
00003D98 1003 move.b D0, D3
00003D9A 4880 ext.w D0
00003D9C 48C0 ext.l D0
00003D9E 4EAD D916 jsr [A5 - 0x26EA]
00003DA2 004E 0000 ori.w A6, 0x0
00003DA6 0001 0000 ori.b D1, 0x0
00003DAA 001F 000A ori.b [A7]+, 0xA /* '\n' */
00003DAE 0000 0001 ori.b D0, 0x1
00003DB2 00F4 0000 ori.? [A4 + D0.w], 0xFFFFFFFFFFFFFFFF
00003DB6 0003 0066 ori.b D3, 0x66 /* 'f' */
00003DBA 0000 0004 ori.b D0, 0x4
00003DBE 010C btst A4, D0
00003DC0 0000 000B ori.b D0, 0xB
00003DC4 00C0 ori.? D0, 0xFFFFFFFFFFFFFFFF
00003DC6 0000 000C ori.b D0, 0xC
00003DCA 00BA 0000 000D 004E ori.l [PC + 0x4E /* 00003E1A, value 0x600000CE */], 0xD /* '\r' */
00003DD2 0000 001B ori.b D0, 0x1B
00003DD6 002E 0000 001C ori.b [A6 + 0x1C], 0x0
00003DDC 0082 0000 001D ori.l D2, 0x1D
00003DE2 007C 0000 ori.w sr, 0
00003DE6 001E 0076 ori.b [A6]+, 0x76 /* 'v' */
00003DEA 0000 001F ori.b D0, 0x1F
00003DEE 0070 0C04 0001 ori.w [A0 + D0.w + 0x1], 0xC04
00003DF4 6600 00F4 bne +0xF6 /* 00003EEA */
00003DF8 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003DFC 4EAD DF80 jsr [A5 - 0x2080]
00003E00 6000 00E8 bra +0xEA /* 00003EEA */
00003E04 0C04 0001 cmpi.b D4, 0x1
00003E08 6708 beq +0xA /* 00003E12 */
00003E0A 0C04 0002 cmpi.b D4, 0x2
00003E0E 6600 00DA bne +0xDC /* 00003EEA */
label00003E12:
00003E12 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003E16 4EAD DF80 jsr [A5 - 0x2080]
00003E1A 6000 00CE bra +0xD0 /* 00003EEA */
00003E1E 4AAB 0070 tst.l [A3 + 0x70]
00003E22 671E beq +0x20 /* 00003E42 */
00003E24 99CC sub.l A4, A4
00003E26 3F2B 0074 move.w -[A7], [A3 + 0x74]
00003E2A 2F2B 006C move.l -[A7], [A3 + 0x6C]
00003E2E 486B 0048 pea.l [A3 + 0x48]
00003E32 2F0B move.l -[A7], A3
00003E34 2F0A move.l -[A7], A2
00003E36 4EBA 20D8 jsr [PC + 0x20D8 /* 00005F10 */]
00003E3A 4FEF 0012 lea.l A7, [A7 + 0x12]
00003E3E 6000 00AA bra +0xAC /* 00003EEA */
label00003E42:
00003E42 0C04 0001 cmpi.b D4, 0x1
00003E46 660C bne +0xE /* 00003E54 */
00003E48 42A7 clr.l -[A7]
00003E4A 4EBA D7EA jsr [PC - 0x2816 /* 00001636 */]
00003E4E 584F addq.w A7, 4
00003E50 6000 0098 bra +0x9A /* 00003EEA */
label00003E54:
00003E54 3F3C 000A move.w -[A7], 0xA /* '\n' */
00003E58 A9C8 syscall SysBeep
00003E5A 6000 008E bra +0x90 /* 00003EEA */
00003E5E 42A7 clr.l -[A7]
00003E60 2F0B move.l -[A7], A3
00003E62 2F0A move.l -[A7], A2
00003E64 4EBA 1C42 jsr [PC + 0x1C42 /* 00005AA8 */]
00003E68 1F03 move.b -[A7], D3
00003E6A 2F2B 0070 move.l -[A7], [A3 + 0x70]
00003E6E 486B 0048 pea.l [A3 + 0x48]
00003E72 2F2B 008A move.l -[A7], [A3 + 0x8A]
00003E76 2F0B move.l -[A7], A3
00003E78 2F0A move.l -[A7], A2
00003E7A 4EBA 1AA0 jsr [PC + 0x1AA0 /* 0000591C */]
00003E7E 4FEF 0022 lea.l A7, [A7 + 0x22]
00003E82 6066 bra +0x68 /* 00003EEA */
00003E84 3005 move.w D0, D5
00003E86 0280 0000 0800 andi.l D0, 0x800
00003E8C 56C0 sne D0
00003E8E 4400 neg.b D0
00003E90 4880 ext.w D0
00003E92 48C0 ext.l D0
00003E94 2F00 move.l -[A7], D0
00003E96 1F03 move.b -[A7], D3
00003E98 2F0B move.l -[A7], A3
00003E9A 2F0A move.l -[A7], A2
00003E9C 4EBA 30D6 jsr [PC + 0x30D6 /* 00006F74 */]
00003EA0 4FEF 000E lea.l A7, [A7 + 0xE]
00003EA4 6044 bra +0x46 /* 00003EEA */
00003EA6 3005 move.w D0, D5
00003EA8 0280 0000 0800 andi.l D0, 0x800
00003EAE 56C0 sne D0
00003EB0 4400 neg.b D0
00003EB2 4880 ext.w D0
00003EB4 48C0 ext.l D0
00003EB6 2F00 move.l -[A7], D0
00003EB8 4878 0001 push.l 0x1
00003EBC 2F0B move.l -[A7], A3
00003EBE 2F0A move.l -[A7], A2
00003EC0 4EBA 3022 jsr [PC + 0x3022 /* 00006EE4 */]
00003EC4 4FEF 0010 lea.l A7, [A7 + 0x10]
00003EC8 6020 bra +0x22 /* 00003EEA */
00003ECA 3005 move.w D0, D5
00003ECC 0280 0000 0800 andi.l D0, 0x800
00003ED2 56C0 sne D0
00003ED4 4400 neg.b D0
00003ED6 4880 ext.w D0
00003ED8 48C0 ext.l D0
00003EDA 2F00 move.l -[A7], D0
00003EDC 42A7 clr.l -[A7]
00003EDE 2F0B move.l -[A7], A3
00003EE0 2F0A move.l -[A7], A2
00003EE2 4EBA 3000 jsr [PC + 0x3000 /* 00006EE4 */]
00003EE6 4FEF 0010 lea.l A7, [A7 + 0x10]
label00003EEA:
00003EEA 200C move.l D0, A4
00003EEC 6708 beq +0xA /* 00003EF6 */
00003EEE 2F0C move.l -[A7], A4
00003EF0 4EAD DD88 jsr [A5 - 0x2278]
00003EF4 584F addq.w A7, 4
label00003EF6:
00003EF6 7001 moveq.l D0, 0x01
00003EF8 4FEF 0018 lea.l A7, [A7 + 0x18]
00003EFC 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
00003F00 4E75 rts
00003F02 2F0A move.l -[A7], A2
00003F04 514F subq.w A7, 8
00003F06 246F 0010 movea.l A2, [A7 + 0x10]
00003F0A 4A6D B48A tst.w [A5 - 0x4B76]
00003F0E 6746 beq +0x48 /* 00003F56 */
00003F10 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003F14 4EAD F670 jsr [A5 - 0x990]
00003F18 2008 move.l D0, A0
00003F1A 584F addq.w A7, 4
00003F1C 6738 beq +0x3A /* 00003F56 */
00003F1E 4227 clr.b -[A7]
00003F20 486F 0002 pea.l [A7 + 0x2]
00003F24 2F2A 0050 move.l -[A7], [A2 + 0x50]
00003F28 4EAD DD80 jsr [A5 - 0x2280]
00003F2C 584F addq.w A7, 4
00003F2E 2F08 move.l -[A7], A0
00003F30 2F0A move.l -[A7], A2
00003F32 4EBA 0C9C jsr [PC + 0xC9C /* 00004BD0 */]
00003F36 2F2A 0050 move.l -[A7], [A2 + 0x50]
00003F3A 4EAD DD88 jsr [A5 - 0x2278]
00003F3E 486F 0012 pea.l [A7 + 0x12]
00003F42 4EAD DD50 jsr [A5 - 0x22B0]
00003F46 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003F4A 4EAD F648 jsr [A5 - 0x9B8]
00003F4E 4EAD DD58 jsr [A5 - 0x22A8]
00003F52 4FEF 001A lea.l A7, [A7 + 0x1A]
label00003F56:
00003F56 504F addq.w A7, 8
00003F58 245F movea.l A2, [A7]+
00003F5A 4E75 rts
00003F5C 48E7 1C30 movem.l -[A7], D3,D4,D5,A2,A3
00003F60 4FEF FFD8 lea.l A7, [A7 - 0x28]
00003F64 246F 0040 movea.l A2, [A7 + 0x40]
00003F68 7600 moveq.l D3, 0x00
00003F6A 7A00 moveq.l D5, 0x00
00003F6C 4AAA 0050 tst.l [A2 + 0x50]
00003F70 6700 0102 beq +0x104 /* 00004074 */
00003F74 206A 0050 movea.l A0, [A2 + 0x50]
00003F78 2650 movea.l A3, [A0]
00003F7A 554F subq.w A7, 2
00003F7C 2F2F 0046 move.l -[A7], [A7 + 0x46]
00003F80 486B 0018 pea.l [A3 + 0x18]
00003F84 A8AD syscall PtInRect
00003F86 101F move.b D0, [A7]+
00003F88 6700 00EA beq +0xEC /* 00004074 */
00003F8C 4A6D B48A tst.w [A5 - 0x4B76]
00003F90 6604 bne +0x6 /* 00003F96 */
00003F92 7000 moveq.l D0, 0x00
00003F94 6012 bra +0x14 /* 00003FA8 */
label00003F96:
00003F96 42A7 clr.l -[A7]
00003F98 2F2F 0048 move.l -[A7], [A7 + 0x48]
00003F9C 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003FA0 4EAD F668 jsr [A5 - 0x998]
00003FA4 4FEF 000C lea.l A7, [A7 + 0xC]
label00003FA8:
00003FA8 7200 moveq.l D1, 0x00
00003FAA 1200 move.b D1, D0
00003FAC 6710 beq +0x12 /* 00003FBE */
00003FAE 5381 subq.l D1, 1
00003FB0 6700 00B6 beq +0xB8 /* 00004068 */
00003FB4 5381 subq.l D1, 1
00003FB6 6700 00AC beq +0xAE /* 00004064 */
00003FBA 6000 00B8 bra +0xBA /* 00004074 */
label00003FBE:
00003FBE 2F2F 0044 move.l -[A7], [A7 + 0x44]
00003FC2 2F2A 0048 move.l -[A7], [A2 + 0x48]
00003FC6 4EAD E3D0 jsr [A5 - 0x1C30]
00003FCA 4A80 tst.l D0
00003FCC 504F addq.w A7, 8
00003FCE 6706 beq +0x8 /* 00003FD6 */
00003FD0 76FF moveq.l D3, 0xFFFFFFFF
00003FD2 6000 00A0 bra +0xA2 /* 00004074 */
label00003FD6:
00003FD6 42A7 clr.l -[A7]
00003FD8 42A7 clr.l -[A7]
00003FDA 486F 000C pea.l [A7 + 0xC]
00003FDE 2F2F 0050 move.l -[A7], [A7 + 0x50]
00003FE2 2F2A 0050 move.l -[A7], [A2 + 0x50]
00003FE6 4EAD DD80 jsr [A5 - 0x2280]
00003FEA 584F addq.w A7, 4
00003FEC 2F08 move.l -[A7], A0
00003FEE 2F0A move.l -[A7], A2
00003FF0 4EBA 0FC0 jsr [PC + 0xFC0 /* 00004FB2 */]
00003FF4 4A80 tst.l D0
00003FF6 4FEF 0018 lea.l A7, [A7 + 0x18]
00003FFA 675C beq +0x5E /* 00004058 */
00003FFC 182F 0026 move.b D4, [A7 + 0x26]
00004000 4884 ext.w D4
00004002 48C4 ext.l D4
00004004 4A84 tst.l D4
00004006 6706 beq +0x8 /* 0000400E */
00004008 7003 moveq.l D0, 0x03
0000400A B880 cmp.l D4, D0
0000400C 6626 bne +0x28 /* 00004034 */
label0000400E:
0000400E 082B 0006 00AE btst.b [A3 + 0xAE], 0x6
00004014 660E bne +0x10 /* 00004024 */
00004016 302D 135E move.w D0, [A5 + 0x135E]
0000401A 48C0 ext.l D0
0000401C 0680 0000 0082 addi.l D0, 0x82
00004022 600C bra +0xE /* 00004030 */
label00004024:
00004024 302D 135E move.w D0, [A5 + 0x135E]
00004028 48C0 ext.l D0
0000402A 0680 0000 0080 addi.l D0, 0x80
label00004030:
00004030 3600 move.w D3, D0
00004032 6024 bra +0x26 /* 00004058 */
label00004034:
00004034 082B 0005 00AE btst.b [A3 + 0xAE], 0x5
0000403A 660E bne +0x10 /* 0000404A */
0000403C 302D 135E move.w D0, [A5 + 0x135E]
00004040 48C0 ext.l D0
00004042 0680 0000 0082 addi.l D0, 0x82
00004048 600C bra +0xE /* 00004056 */
label0000404A:
0000404A 302D 135E move.w D0, [A5 + 0x135E]
0000404E 48C0 ext.l D0
00004050 0680 0000 0080 addi.l D0, 0x80
label00004056:
00004056 3600 move.w D3, D0
label00004058:
00004058 2F2A 0050 move.l -[A7], [A2 + 0x50]
0000405C 4EAD DD88 jsr [A5 - 0x2278]
00004060 584F addq.w A7, 4
00004062 6010 bra +0x12 /* 00004074 */
label00004064:
00004064 7601 moveq.l D3, 0x01
00004066 600C bra +0xE /* 00004074 */
label00004068:
00004068 362D 135E move.w D3, [A5 + 0x135E]
0000406C 48C3 ext.l D3
0000406E 0683 0000 0081 addi.l D3, 0x81
label00004074:
00004074 3003 move.w D0, D3
00004076 48C0 ext.l D0
00004078 4A80 tst.l D0
0000407A 6D06 blt +0x8 /* 00004082 */
0000407C 3F03 move.w -[A7], D3
0000407E 4EAD DDA0 jsr [A5 - 0x2260]
label00004082:
00004082 4857 pea.l [A7]
00004084 A870 syscall LocalToGlobal
00004086 3F05 move.w -[A7], D5
00004088 2F2F 0002 move.l -[A7], [A7 + 0x2]
0000408C 4EAD DFE8 jsr [A5 - 0x2018]
00004090 4FEF 002E lea.l A7, [A7 + 0x2E]
00004094 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
00004098 4E75 rts
0000409A 4E75 rts
fn0000409C:
0000409C 48E7 0030 movem.l -[A7], A2,A3
000040A0 266F 0010 movea.l A3, [A7 + 0x10]
000040A4 246F 0014 movea.l A2, [A7 + 0x14]
000040A8 206F 000C movea.l A0, [A7 + 0xC]
000040AC 4AA8 0054 tst.l [A0 + 0x54]
000040B0 6718 beq +0x1A /* 000040CA */
000040B2 4A92 tst.l [A2]
000040B4 6714 beq +0x16 /* 000040CA */
000040B6 2F2A 0004 move.l -[A7], [A2 + 0x4]
000040BA 4EAD DAA2 jsr [A5 - 0x255E]
000040BE 2752 0092 move.l [A3 + 0x92], [A2]
000040C2 42AB 008E clr.l [A3 + 0x8E]
000040C6 584F addq.w A7, 4
000040C8 600A bra +0xC /* 000040D4 */
label000040CA:
000040CA 2752 008E move.l [A3 + 0x8E], [A2]
000040CE 276A 0004 0092 move.l [A3 + 0x92], [A2 + 0x4]
label000040D4:
000040D4 4CDF 0C00 movem.l A2,A3, [A7]+
000040D8 4E75 rts
fn000040DA:
000040DA 48E7 1C3A movem.l -[A7], D3,D4,D5,A2,A3,A4,A6
000040DE 4FEF FFCE lea.l A7, [A7 - 0x32]
000040E2 266F 0052 movea.l A3, [A7 + 0x52]
000040E6 1A2F 0056 move.b D5, [A7 + 0x56]
000040EA 7800 moveq.l D4, 0x00
000040EC 4AAB 0050 tst.l [A3 + 0x50]
000040F0 6700 0308 beq +0x30A /* 000043FA */
000040F4 2F2B 0050 move.l -[A7], [A3 + 0x50]
000040F8 4EAD DD80 jsr [A5 - 0x2280]
000040FC 2448 movea.l A2, A0
000040FE 2F6A 0010 0008 move.l [A7 + 0x8], [A2 + 0x10]
00004104 2F6A 0014 000C move.l [A7 + 0xC], [A2 + 0x14]
0000410A 2F0A move.l -[A7], A2
0000410C 2F0B move.l -[A7], A3
0000410E 4EBA 29E0 jsr [PC + 0x29E0 /* 00006AF0 */]
00004112 0C05 0002 cmpi.b D5, 0x2
00004116 4FEF 000C lea.l A7, [A7 + 0xC]
0000411A 6734 beq +0x36 /* 00004150 */
0000411C 554F subq.w A7, 2
0000411E 486A 0010 pea.l [A2 + 0x10]
00004122 486F 000A pea.l [A7 + 0xA]
00004126 A8A6 syscall EqualRect
00004128 101F move.b D0, [A7]+
0000412A 6624 bne +0x26 /* 00004150 */
0000412C 4878 0001 push.l 0x1
00004130 486F 0008 pea.l [A7 + 0x8]
00004134 2F0A move.l -[A7], A2
00004136 2F0B move.l -[A7], A3
00004138 4EBA 2A50 jsr [PC + 0x2A50 /* 00006B8A */]
0000413C 4878 0001 push.l 0x1
00004140 486A 0010 pea.l [A2 + 0x10]
00004144 2F0A move.l -[A7], A2
00004146 2F0B move.l -[A7], A3
00004148 4EBA 2A40 jsr [PC + 0x2A40 /* 00006B8A */]
0000414C 4FEF 0020 lea.l A7, [A7 + 0x20]
label00004150:
00004150 4A05 tst.b D5
00004152 6600 00E0 bne +0xE2 /* 00004234 */
00004156 9DCE sub.l A6, A6
00004158 42AF 000C clr.l [A7 + 0xC]
0000415C 2F2B 0048 move.l -[A7], [A3 + 0x48]
00004160 4EAD E848 jsr [A5 - 0x17B8]
00004164 7200 moveq.l D1, 0x00
00004166 1200 move.b D1, D0
00004168 584F addq.w A7, 4
0000416A 4A81 tst.l D1
0000416C 670C beq +0xE /* 0000417A */
0000416E 5381 subq.l D1, 1
00004170 6768 beq +0x6A /* 000041DA */
00004172 5381 subq.l D1, 1
00004174 676C beq +0x6E /* 000041E2 */
00004176 6000 0082 bra +0x84 /* 000041FA */
label0000417A:
0000417A 4AAB 0054 tst.l [A3 + 0x54]
0000417E 6706 beq +0x8 /* 00004186 */
00004180 262A 003C move.l D3, [A2 + 0x3C]
00004184 6074 bra +0x76 /* 000041FA */
label00004186:
00004186 486F 000C pea.l [A7 + 0xC]
0000418A 4EBA DDDE jsr [PC - 0x2222 /* 00001F6A */]
0000418E 2600 move.l D3, D0
00004190 4A80 tst.l D0
00004192 584F addq.w A7, 4
00004194 6C64 bge +0x66 /* 000041FA */
00004196 1F3C 0012 move.b -[A7], 0x12
0000419A 2F2B 0048 move.l -[A7], [A3 + 0x48]
0000419E 4EAD E818 jsr [A5 - 0x17E8]
000041A2 2848 movea.l A4, A0
000041A4 4AAC 0004 tst.l [A4 + 0x4]
000041A8 5C4F addq.w A7, 6
000041AA 6D14 blt +0x16 /* 000041C0 */
000041AC 262C 0004 move.l D3, [A4 + 0x4]
000041B0 2F6C 0008 000C move.l [A7 + 0xC], [A4 + 0x8]
000041B6 4AAD B2D8 tst.l [A5 - 0x4D28]
000041BA 673E beq +0x40 /* 000041FA */
000041BC 2C54 movea.l A6, [A4]
000041BE 603A bra +0x3C /* 000041FA */
label000041C0:
000041C0 1F3C 0004 move.b -[A7], 0x4
000041C4 2F2B 0048 move.l -[A7], [A3 + 0x48]
000041C8 4EAD E818 jsr [A5 - 0x17E8]
000041CC 2848 movea.l A4, A0
000041CE 2614 move.l D3, [A4]
000041D0 2F6C 0004 0012 move.l [A7 + 0x12], [A4 + 0x4]
000041D6 5C4F addq.w A7, 6
000041D8 6020 bra +0x22 /* 000041FA */
label000041DA:
000041DA 4EBA D3DA jsr [PC - 0x2C26 /* 000015B6 */]
000041DE 2600 move.l D3, D0
000041E0 6018 bra +0x1A /* 000041FA */
label000041E2:
000041E2 4AAB 0054 tst.l [A3 + 0x54]
000041E6 6706 beq +0x8 /* 000041EE */
000041E8 262A 003C move.l D3, [A2 + 0x3C]
000041EC 600C bra +0xE /* 000041FA */
label000041EE:
000041EE 486F 000C pea.l [A7 + 0xC]
000041F2 4EBA DD76 jsr [PC - 0x228A /* 00001F6A */]
000041F6 2600 move.l D3, D0
000041F8 584F addq.w A7, 4
label000041FA:
000041FA 42A7 clr.l -[A7]
000041FC 2F0E move.l -[A7], A6
000041FE 1F3C 0002 move.b -[A7], 0x2
00004202 42A7 clr.l -[A7]
00004204 2F03 move.l -[A7], D3
00004206 2F0A move.l -[A7], A2
00004208 2F0B move.l -[A7], A3
0000420A 4EBA 0434 jsr [PC + 0x434 /* 00004640 */]
0000420E 3800 move.w D4, D0
00004210 4AAF 0026 tst.l [A7 + 0x26]
00004214 4FEF 001A lea.l A7, [A7 + 0x1A]
00004218 6700 00F4 beq +0xF6 /* 0000430E */
0000421C 4878 0001 push.l 0x1
00004220 2F2F 0010 move.l -[A7], [A7 + 0x10]
00004224 2F2B 0048 move.l -[A7], [A3 + 0x48]
00004228 4EBA DFC0 jsr [PC - 0x2040 /* 000021EA */]
0000422C 4FEF 000C lea.l A7, [A7 + 0xC]
00004230 6000 00DC bra +0xDE /* 0000430E */
label00004234:
00004234 0C05 0001 cmpi.b D5, 0x1
00004238 6600 00D4 bne +0xD6 /* 0000430E */
0000423C 4AAB 0054 tst.l [A3 + 0x54]
00004240 6600 00CC bne +0xCE /* 0000430E */
00004244 2F2A 00A2 move.l -[A7], [A2 + 0xA2]
00004248 2F2B 0048 move.l -[A7], [A3 + 0x48]
0000424C 4EAD E5E0 jsr [A5 - 0x1A20]
00004250 2F0A move.l -[A7], A2
00004252 4EBA 0AB8 jsr [PC + 0xAB8 /* 00004D0C */]
00004256 2F2A 008A move.l -[A7], [A2 + 0x8A]
0000425A 4EBA DD22 jsr [PC - 0x22DE /* 00001F7E */]
0000425E 2F2B 0054 move.l -[A7], [A3 + 0x54]
00004262 2F2B 0048 move.l -[A7], [A3 + 0x48]
00004266 4EAD E378 jsr [A5 - 0x1C88]
0000426A 486F 0028 pea.l [A7 + 0x28]
0000426E 486F 001D pea.l [A7 + 0x1D]
00004272 486F 0022 pea.l [A7 + 0x22]
00004276 2F0A move.l -[A7], A2
00004278 2F0B move.l -[A7], A3
0000427A 4EBA 29DC jsr [PC + 0x29DC /* 00006C58 */]
0000427E 486F 003C pea.l [A7 + 0x3C]
00004282 1F2F 0031 move.b -[A7], [A7 + 0x31]
00004286 3F2F 0034 move.w -[A7], [A7 + 0x34]
0000428A 2F2B 0054 move.l -[A7], [A3 + 0x54]
0000428E 1F3C 0001 move.b -[A7], 0x1
00004292 2F2B 0048 move.l -[A7], [A3 + 0x48]
00004296 4EAD E818 jsr [A5 - 0x17E8]
0000429A 5C4F addq.w A7, 6
0000429C 2F10 move.l -[A7], [A0]
0000429E 1F3C 0005 move.b -[A7], 0x5
000042A2 2F2B 0048 move.l -[A7], [A3 + 0x48]
000042A6 4EAD E818 jsr [A5 - 0x17E8]
000042AA 5C4F addq.w A7, 6
000042AC 2F08 move.l -[A7], A0
000042AE 3F2A 00B2 move.w -[A7], [A2 + 0xB2]
000042B2 2F2B 0048 move.l -[A7], [A3 + 0x48]
000042B6 4EAD DB92 jsr [A5 - 0x246E]
000042BA 3600 move.w D3, D0
000042BC 486F 0056 pea.l [A7 + 0x56]
000042C0 2F0A move.l -[A7], A2
000042C2 2F0B move.l -[A7], A3
000042C4 4EBA FDD6 jsr [PC - 0x22A /* 0000409C */]
000042C8 256F 006A 008A move.l [A2 + 0x8A], [A7 + 0x6A]
000042CE 356F 007C 00B4 move.w [A2 + 0xB4], [A7 + 0x7C]
000042D4 356F 007A 00B6 move.w [A2 + 0xB6], [A7 + 0x7A]
000042DA 102F 0075 move.b D0, [A7 + 0x75]
000042DE EF08 lsl D0.b, 7
000042E0 0200 0080 andi.b D0, 0x80
000042E4 022A 007F 00AE andi.b [A2 + 0xAE], 0x7F
000042EA 812A 00AE or.b [A2 + 0xAE], D0
000042EE 102F 0079 move.b D0, [A7 + 0x79]
000042F2 E908 lsl D0.b, 4
000042F4 0200 0010 andi.b D0, 0x10
000042F8 022A 00EF 00AE andi.b [A2 + 0xAE], 0xEF
000042FE 812A 00AE or.b [A2 + 0xAE], D0
00004302 2F0A move.l -[A7], A2
00004304 2F0B move.l -[A7], A3
00004306 4EBA 2CBC jsr [PC + 0x2CBC /* 00006FC4 */]
0000430A 4FEF 005A lea.l A7, [A7 + 0x5A]
label0000430E:
0000430E 256A 0010 0026 move.l [A2 + 0x26], [A2 + 0x10]
00004314 256A 0014 002A move.l [A2 + 0x2A], [A2 + 0x14]
0000431A 4AAB 0054 tst.l [A3 + 0x54]
0000431E 6708 beq +0xA /* 00004328 */
00004320 2F0A move.l -[A7], A2
00004322 4EBA 304C jsr [PC + 0x304C /* 00007370 */]
00004326 584F addq.w A7, 4
label00004328:
00004328 4A44 tst.w D4
0000432A 670C beq +0xE /* 00004338 */
0000432C 3F04 move.w -[A7], D4
0000432E 3F3C 0002 move.w -[A7], 0x2
00004332 4EAD DE98 jsr [A5 - 0x2168]
00004336 584F addq.w A7, 4
label00004338:
00004338 4AAA 0096 tst.l [A2 + 0x96]
0000433C 6774 beq +0x76 /* 000043B2 */
0000433E 4AAA 009A tst.l [A2 + 0x9A]
00004342 676E beq +0x70 /* 000043B2 */
00004344 2F0A move.l -[A7], A2
00004346 4EBA 20FE jsr [PC + 0x20FE /* 00006446 */]
0000434A 2800 move.l D4, D0
0000434C 2F0A move.l -[A7], A2
0000434E 4EBA 2114 jsr [PC + 0x2114 /* 00006464 */]
00004352 2A00 move.l D5, D0
00004354 4878 0001 push.l 0x1
00004358 2F0A move.l -[A7], A2
0000435A 2F0B move.l -[A7], A3
0000435C 4EBA 0144 jsr [PC + 0x144 /* 000044A2 */]
00004360 2F0A move.l -[A7], A2
00004362 2F0B move.l -[A7], A3
00004364 4EBA 069A jsr [PC + 0x69A /* 00004A00 */]
00004368 2F2A 0096 move.l -[A7], [A2 + 0x96]
0000436C 4EBA D89C jsr [PC - 0x2764 /* 00001C0A */]
00004370 2204 move.l D1, D4
00004372 9280 sub.l D1, D0
00004374 2601 move.l D3, D1
00004376 2F2A 009A move.l -[A7], [A2 + 0x9A]
0000437A 4EBA D88E jsr [PC - 0x2772 /* 00001C0A */]
0000437E 2205 move.l D1, D5
00004380 9280 sub.l D1, D0
00004382 2801 move.l D4, D1
00004384 4A83 tst.l D3
00004386 4FEF 0024 lea.l A7, [A7 + 0x24]
0000438A 6604 bne +0x6 /* 00004390 */
0000438C 4A84 tst.l D4
0000438E 6736 beq +0x38 /* 000043C6 */
label00004390:
00004390 4878 0001 push.l 0x1
00004394 486A 0010 pea.l [A2 + 0x10]
00004398 2F0A move.l -[A7], A2
0000439A 2F0B move.l -[A7], A3
0000439C 4EBA 27EC jsr [PC + 0x27EC /* 00006B8A */]
000043A0 3F04 move.w -[A7], D4
000043A2 3F03 move.w -[A7], D3
000043A4 2F2B 0048 move.l -[A7], [A3 + 0x48]
000043A8 4EAD DCF0 jsr [A5 - 0x2310]
000043AC 4FEF 0018 lea.l A7, [A7 + 0x18]
000043B0 6014 bra +0x16 /* 000043C6 */
label000043B2:
000043B2 1F3C 0002 move.b -[A7], 0x2
000043B6 486A 0018 pea.l [A2 + 0x18]
000043BA 2F0A move.l -[A7], A2
000043BC 2F0B move.l -[A7], A3
000043BE 4EBA 0810 jsr [PC + 0x810 /* 00004BD0 */]
000043C2 4FEF 000E lea.l A7, [A7 + 0xE]
label000043C6:
000043C6 2F0A move.l -[A7], A2
000043C8 2F0B move.l -[A7], A3
000043CA 4EBA 2E84 jsr [PC + 0x2E84 /* 00007250 */]
000043CE 4878 0001 push.l 0x1
000043D2 3F2A 0018 move.w -[A7], [A2 + 0x18]
000043D6 3F2A 001A move.w -[A7], [A2 + 0x1A]
000043DA 2F2B 0054 move.l -[A7], [A3 + 0x54]
000043DE 2F2B 0048 move.l -[A7], [A3 + 0x48]
000043E2 4EAD E3C0 jsr [A5 - 0x1C40]
000043E6 2F0A move.l -[A7], A2
000043E8 2F0B move.l -[A7], A3
000043EA 4EBA 18E8 jsr [PC + 0x18E8 /* 00005CD4 */]
000043EE 2F2B 0050 move.l -[A7], [A3 + 0x50]
000043F2 4EAD DD88 jsr [A5 - 0x2278]
000043F6 4FEF 0024 lea.l A7, [A7 + 0x24]
label000043FA:
000043FA 4FEF 0032 lea.l A7, [A7 + 0x32]
000043FE 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
00004402 4E75 rts
00004404 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00004408 246F 0014 movea.l A2, [A7 + 0x14]
0000440C 266F 0018 movea.l A3, [A7 + 0x18]
00004410 4AAA 0050 tst.l [A2 + 0x50]
00004414 6706 beq +0x8 /* 0000441C */
00004416 4AAA 0054 tst.l [A2 + 0x54]
0000441A 6706 beq +0x8 /* 00004422 */
label0000441C:
0000441C 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00004420 4E75 rts
label00004422:
00004422 2F2A 0050 move.l -[A7], [A2 + 0x50]
00004426 4EAD DD80 jsr [A5 - 0x2280]
0000442A 2848 movea.l A4, A0
0000442C 2F2C 00A2 move.l -[A7], [A4 + 0xA2]
00004430 2F2A 0048 move.l -[A7], [A2 + 0x48]
00004434 4EAD E5D8 jsr [A5 - 0x1A28]
00004438 3600 move.w D3, D0
0000443A 377C 0040 0002 move.w [A3 + 0x2], 0x40 /* '@' */
00004440 3003 move.w D0, D3
00004442 48C0 ext.l D0
00004444 7240 moveq.l D1, 0x40
00004446 D081 add.l D0, D1
00004448 3680 move.w [A3], D0
0000444A 377C 7FFF 0004 move.w [A3 + 0x4], 0x7FFF
00004450 377C 7FFF 0006 move.w [A3 + 0x6], 0x7FFF
00004456 2F2A 0050 move.l -[A7], [A2 + 0x50]
0000445A 4EAD DD88 jsr [A5 - 0x2278]
0000445E 4FEF 0010 lea.l A7, [A7 + 0x10]
00004462 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00004466 4E75 rts
fn00004468:
00004468 514F subq.w A7, 8
0000446A 4857 pea.l [A7]
0000446C 42A7 clr.l -[A7]
0000446E 2F3C 000A 000A move.l -[A7], 0xA000A /* '\n\0\n' */
00004474 A8A7 syscall SetRect
00004476 4857 pea.l [A7]
00004478 2F2F 0010 move.l -[A7], [A7 + 0x10]
0000447C 4EBA D448 jsr [PC - 0x2BB8 /* 000018C6 */]
00004480 226F 0018 movea.l A1, [A7 + 0x18]
00004484 2348 0096 move.l [A1 + 0x96], A0
00004488 486F 0008 pea.l [A7 + 0x8]
0000448C 2F2F 0018 move.l -[A7], [A7 + 0x18]
00004490 4EBA D434 jsr [PC - 0x2BCC /* 000018C6 */]
00004494 226F 0020 movea.l A1, [A7 + 0x20]
00004498 2348 009A move.l [A1 + 0x9A], A0
0000449C 4FEF 0018 lea.l A7, [A7 + 0x18]
000044A0 4E75 rts
fn000044A2:
000044A2 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
000044A6 4FEF FFF2 lea.l A7, [A7 - 0xE]
000044AA 286F 0036 movea.l A4, [A7 + 0x36]
000044AE 246F 003A movea.l A2, [A7 + 0x3A]
000044B2 264A movea.l A3, A2
000044B4 508B addq.l A3, 8
000044B6 508B addq.l A3, 8
000044B8 206C 0048 movea.l A0, [A4 + 0x48]
000044BC 7600 moveq.l D3, 0x00
000044BE 1628 006F move.b D3, [A0 + 0x6F]
000044C2 7C0F moveq.l D6, 0x0F
000044C4 760F moveq.l D3, 0x0F
000044C6 4AAA 0096 tst.l [A2 + 0x96]
000044CA 6706 beq +0x8 /* 000044D2 */
000044CC 4AAA 009A tst.l [A2 + 0x9A]
000044D0 660A bne +0xC /* 000044DC */
label000044D2:
000044D2 4FEF 000E lea.l A7, [A7 + 0xE]
000044D6 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
000044DA 4E75 rts
label000044DC:
000044DC 1F3C 0014 move.b -[A7], 0x14
000044E0 2F2C 0048 move.l -[A7], [A4 + 0x48]
000044E4 4EAD E818 jsr [A5 - 0x17E8]
000044E8 4A90 tst.l [A0]
000044EA 5C4F addq.w A7, 6
000044EC 6604 bne +0x6 /* 000044F2 */
000044EE 7600 moveq.l D3, 0x00
000044F0 3C03 move.w D6, D3
label000044F2:
000044F2 3006 move.w D0, D6
000044F4 48C0 ext.l D0
000044F6 322B 0002 move.w D1, [A3 + 0x2]
000044FA 48C1 ext.l D1
000044FC 3E2B 0006 move.w D7, [A3 + 0x6]
00004500 48C7 ext.l D7
00004502 9E81 sub.l D7, D1
00004504 5487 addq.l D7, 2
00004506 9E80 sub.l D7, D0
00004508 3003 move.w D0, D3
0000450A 48C0 ext.l D0
0000450C 3213 move.w D1, [A3]
0000450E 48C1 ext.l D1
00004510 382B 0004 move.w D4, [A3 + 0x4]
00004514 48C4 ext.l D4
00004516 9881 sub.l D4, D1
00004518 5484 addq.l D4, 2
0000451A 9880 sub.l D4, D0
0000451C 302B 0004 move.w D0, [A3 + 0x4]
00004520 48C0 ext.l D0
00004522 72F1 moveq.l D1, 0xFFFFFFF1
00004524 D081 add.l D0, D1
00004526 3F40 0002 move.w [A7 + 0x2], D0
0000452A 302B 0006 move.w D0, [A3 + 0x6]
0000452E 48C0 ext.l D0
00004530 D081 add.l D0, D1
00004532 3F40 0004 move.w [A7 + 0x4], D0
00004536 3A13 move.w D5, [A3]
00004538 48C5 ext.l D5
0000453A 5385 subq.l D5, 1
0000453C 4AAA 008E tst.l [A2 + 0x8E]
00004540 670E beq +0x10 /* 00004550 */
00004542 206A 008E movea.l A0, [A2 + 0x8E]
00004546 2050 movea.l A0, [A0]
00004548 3EA8 0006 move.w [A7], [A0 + 0x6]
0000454C DA57 add.w D5, [A7]
0000454E 9857 sub.w D4, [A7]
label00004550:
00004550 2C6A 0096 movea.l A6, [A2 + 0x96]
00004554 2C56 movea.l A6, [A6]
00004556 508E addq.l A6, 8
00004558 286A 009A movea.l A4, [A2 + 0x9A]
0000455C 2854 movea.l A4, [A4]
0000455E 508C addq.l A4, 8
00004560 3016 move.w D0, [A6]
00004562 B06F 0002 cmp.w D0, [A7 + 0x2]
00004566 663A bne +0x3C /* 000045A2 */
00004568 302C 0002 move.w D0, [A4 + 0x2]
0000456C B06F 0004 cmp.w D0, [A7 + 0x4]
00004570 6630 bne +0x32 /* 000045A2 */
00004572 BA54 cmp.w D5, [A4]
00004574 662C bne +0x2E /* 000045A2 */
00004576 302E 0002 move.w D0, [A6 + 0x2]
0000457A 48C0 ext.l D0
0000457C 322E 0006 move.w D1, [A6 + 0x6]
00004580 48C1 ext.l D1
00004582 9280 sub.l D1, D0
00004584 3007 move.w D0, D7
00004586 48C0 ext.l D0
00004588 B081 cmp.l D0, D1
0000458A 6616 bne +0x18 /* 000045A2 */
0000458C 3014 move.w D0, [A4]
0000458E 48C0 ext.l D0
00004590 322C 0004 move.w D1, [A4 + 0x4]
00004594 48C1 ext.l D1
00004596 9280 sub.l D1, D0
00004598 3004 move.w D0, D4
0000459A 48C0 ext.l D0
0000459C B081 cmp.l D0, D1
0000459E 6700 0096 beq +0x98 /* 00004636 */
label000045A2:
000045A2 206A 0096 movea.l A0, [A2 + 0x96]
000045A6 2050 movea.l A0, [A0]
000045A8 2F68 0008 0006 move.l [A7 + 0x6], [A0 + 0x8]
000045AE 2F68 000C 000A move.l [A7 + 0xA], [A0 + 0xC]
000045B4 4AAF 003E tst.l [A7 + 0x3E]
000045B8 6704 beq +0x6 /* 000045BE */
000045BA DD6F 000C add.w [A7 + 0xC], D6
label000045BE:
000045BE 486F 0006 pea.l [A7 + 0x6]
000045C2 A928 syscall InvalRect
000045C4 206A 009A movea.l A0, [A2 + 0x9A]
000045C8 2050 movea.l A0, [A0]
000045CA 2F68 0008 0006 move.l [A7 + 0x6], [A0 + 0x8]
000045D0 2F68 000C 000A move.l [A7 + 0xA], [A0 + 0xC]
000045D6 D76F 000A add.w [A7 + 0xA], D3
000045DA 486F 0006 pea.l [A7 + 0x6]
000045DE A928 syscall InvalRect
000045E0 3F3C 0010 move.w -[A7], 0x10
000045E4 3F07 move.w -[A7], D7
000045E6 3F2F 0006 move.w -[A7], [A7 + 0x6]
000045EA 302B 0002 move.w D0, [A3 + 0x2]
000045EE 48C0 ext.l D0
000045F0 5380 subq.l D0, 1
000045F2 3F00 move.w -[A7], D0
000045F4 2F2A 0096 move.l -[A7], [A2 + 0x96]
000045F8 4EBA D3C8 jsr [PC - 0x2C38 /* 000019C2 */]
000045FC 3F04 move.w -[A7], D4
000045FE 3F3C 0010 move.w -[A7], 0x10
00004602 3F05 move.w -[A7], D5
00004604 3F2F 0016 move.w -[A7], [A7 + 0x16]
00004608 2F2A 009A move.l -[A7], [A2 + 0x9A]
0000460C 4EBA D3B4 jsr [PC - 0x2C4C /* 000019C2 */]
00004610 206A 009A movea.l A0, [A2 + 0x9A]
00004614 2050 movea.l A0, [A0]
00004616 2F68 0008 001E move.l [A7 + 0x1E], [A0 + 0x8]
0000461C 2F68 000C 0022 move.l [A7 + 0x22], [A0 + 0xC]
00004622 3F6F 0022 001E move.w [A7 + 0x1E], [A7 + 0x22]
00004628 D76F 0022 add.w [A7 + 0x22], D3
0000462C 486F 001E pea.l [A7 + 0x1E]
00004630 A928 syscall InvalRect
00004632 4FEF 0018 lea.l A7, [A7 + 0x18]
label00004636:
00004636 4FEF 000E lea.l A7, [A7 + 0xE]
0000463A 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
0000463E 4E75 rts
fn00004640:
00004640 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
00004644 4FEF FFDA lea.l A7, [A7 - 0x26]
00004648 246F 004E movea.l A2, [A7 + 0x4E]
0000464C 266F 0052 movea.l A3, [A7 + 0x52]
00004650 2A2F 0056 move.l D5, [A7 + 0x56]
00004654 182F 005E move.b D4, [A7 + 0x5E]
00004658 2C6F 0060 movea.l A6, [A7 + 0x60]
0000465C 1F3C 0001 move.b -[A7], 0x1
00004660 2F2A 0048 move.l -[A7], [A2 + 0x48]
00004664 4EAD E818 jsr [A5 - 0x17E8]
00004668 2848 movea.l A4, A0
0000466A 2F2A 0048 move.l -[A7], [A2 + 0x48]
0000466E 4EAD E848 jsr [A5 - 0x17B8]
00004672 1600 move.b D3, D0
00004674 0C03 0001 cmpi.b D3, 0x1
00004678 57C0 seq D0
0000467A 4400 neg.b D0
0000467C 4880 ext.w D0
0000467E 48C0 ext.l D0
00004680 2C00 move.l D6, D0
00004682 4A04 tst.b D4
00004684 4FEF 000A lea.l A7, [A7 + 0xA]
00004688 662A bne +0x2C /* 000046B4 */
0000468A BA94 cmp.l D5, [A4]
0000468C 6626 bne +0x28 /* 000046B4 */
0000468E 2F0E move.l -[A7], A6
00004690 1F03 move.b -[A7], D3
00004692 2F0A move.l -[A7], A2
00004694 4EBA 0320 jsr [PC + 0x320 /* 000049B6 */]
00004698 2F14 move.l -[A7], [A4]
0000469A 1F3C 0001 move.b -[A7], 0x1
0000469E 42A7 clr.l -[A7]
000046A0 2F2A 0048 move.l -[A7], [A2 + 0x48]
000046A4 4EBA C7F6 jsr [PC - 0x380A /* 00000E9C */]
000046A8 7000 moveq.l D0, 0x00
000046AA 4FEF 003E lea.l A7, [A7 + 0x3E]
000046AE 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
000046B2 4E75 rts
label000046B4:
000046B4 4878 0001 push.l 0x1
000046B8 2F0B move.l -[A7], A3
000046BA 2F0A move.l -[A7], A2
000046BC 4EBA 13EA jsr [PC + 0x13EA /* 00005AA8 */]
000046C0 4878 0001 push.l 0x1
000046C4 2F2A 0048 move.l -[A7], [A2 + 0x48]
000046C8 4EAD E480 jsr [A5 - 0x1B80]
000046CC 4AAA 0054 tst.l [A2 + 0x54]
000046D0 4FEF 0014 lea.l A7, [A7 + 0x14]
000046D4 6624 bne +0x26 /* 000046FA */
000046D6 4A6D B48A tst.w [A5 - 0x4B76]
000046DA 671E beq +0x20 /* 000046FA */
000046DC 0C04 0002 cmpi.b D4, 0x2
000046E0 6718 beq +0x1A /* 000046FA */
000046E2 A896 syscall HidePen
000046E4 4878 0001 push.l 0x1
000046E8 4878 0001 push.l 0x1
000046EC 2F0B move.l -[A7], A3
000046EE 2F0A move.l -[A7], A2
000046F0 4EBA 1E86 jsr [PC + 0x1E86 /* 00006578 */]
000046F4 A897 syscall ShowPen
000046F6 4FEF 0010 lea.l A7, [A7 + 0x10]
label000046FA:
000046FA 2E14 move.l D7, [A4]
000046FC 4AAA 0054 tst.l [A2 + 0x54]
00004700 6602 bne +0x4 /* 00004704 */
00004702 2885 move.l [A4], D5
label00004704:
00004704 2F0E move.l -[A7], A6
00004706 1F03 move.b -[A7], D3
00004708 2F0A move.l -[A7], A2
0000470A 4EBA 02AA jsr [PC + 0x2AA /* 000049B6 */]
0000470E 2F0B move.l -[A7], A3
00004710 4EBA 05FA jsr [PC + 0x5FA /* 00004D0C */]
00004714 2F2B 008A move.l -[A7], [A3 + 0x8A]
00004718 4EBA D864 jsr [PC - 0x279C /* 00001F7E */]
0000471C 2F2A 0054 move.l -[A7], [A2 + 0x54]
00004720 2F2A 0048 move.l -[A7], [A2 + 0x48]
00004724 4EAD E380 jsr [A5 - 0x1C80]
00004728 486F 001E pea.l [A7 + 0x1E]
0000472C 486F 001F pea.l [A7 + 0x1F]
00004730 486F 0024 pea.l [A7 + 0x24]
00004734 2F0B move.l -[A7], A3
00004736 2F0A move.l -[A7], A2
00004738 4EBA 251E jsr [PC + 0x251E /* 00006C58 */]
0000473C 486F 0032 pea.l [A7 + 0x32]
00004740 1F2F 0033 move.b -[A7], [A7 + 0x33]
00004744 3F2F 0036 move.w -[A7], [A7 + 0x36]
00004748 2F2A 0054 move.l -[A7], [A2 + 0x54]
0000474C 2F05 move.l -[A7], D5
0000474E 1F3C 0005 move.b -[A7], 0x5
00004752 2F2A 0048 move.l -[A7], [A2 + 0x48]
00004756 4EAD E818 jsr [A5 - 0x17E8]
0000475A 5C4F addq.w A7, 6
0000475C 2F08 move.l -[A7], A0
0000475E 3F2B 00B2 move.w -[A7], [A3 + 0xB2]
00004762 2F2A 0048 move.l -[A7], [A2 + 0x48]
00004766 4EAD DB92 jsr [A5 - 0x246E]
0000476A 3800 move.w D4, D0
0000476C 486F 004C pea.l [A7 + 0x4C]
00004770 2F0B move.l -[A7], A3
00004772 2F0A move.l -[A7], A2
00004774 4EBA F926 jsr [PC - 0x6DA /* 0000409C */]
00004778 276F 0060 008A move.l [A3 + 0x8A], [A7 + 0x60]
0000477E 376F 0072 00B4 move.w [A3 + 0xB4], [A7 + 0x72]
00004784 376F 0070 00B6 move.w [A3 + 0xB6], [A7 + 0x70]
0000478A 102F 006B move.b D0, [A7 + 0x6B]
0000478E EF08 lsl D0.b, 7
00004790 0200 0080 andi.b D0, 0x80
00004794 022B 007F 00AE andi.b [A3 + 0xAE], 0x7F
0000479A 812B 00AE or.b [A3 + 0xAE], D0
0000479E 102F 006F move.b D0, [A7 + 0x6F]
000047A2 E908 lsl D0.b, 4
000047A4 0200 0010 andi.b D0, 0x10
000047A8 022B 00EF 00AE andi.b [A3 + 0xAE], 0xEF
000047AE 812B 00AE or.b [A3 + 0xAE], D0
000047B2 4A44 tst.w D4
000047B4 4FEF 0054 lea.l A7, [A7 + 0x54]
000047B8 670E beq +0x10 /* 000047C8 */
000047BA 2887 move.l [A4], D7
000047BC 3004 move.w D0, D4
000047BE 4FEF 0026 lea.l A7, [A7 + 0x26]
000047C2 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
000047C6 4E75 rts
label000047C8:
000047C8 2F0B move.l -[A7], A3
000047CA 2F0A move.l -[A7], A2
000047CC 4EBA 27F6 jsr [PC + 0x27F6 /* 00006FC4 */]
000047D0 4AAA 0054 tst.l [A2 + 0x54]
000047D4 504F addq.w A7, 8
000047D6 6614 bne +0x16 /* 000047EC */
000047D8 486F 0010 pea.l [A7 + 0x10]
000047DC 1F3C 0002 move.b -[A7], 0x2
000047E0 2F2A 0048 move.l -[A7], [A2 + 0x48]
000047E4 4EAD E820 jsr [A5 - 0x17E0]
000047E8 4FEF 000A lea.l A7, [A7 + 0xA]
label000047EC:
000047EC 42AB 0050 clr.l [A3 + 0x50]
000047F0 42AB 0070 clr.l [A3 + 0x70]
000047F4 4A6D B48A tst.w [A5 - 0x4B76]
000047F8 673A beq +0x3C /* 00004834 */
000047FA 4AAA 0054 tst.l [A2 + 0x54]
000047FE 6634 bne +0x36 /* 00004834 */
00004800 2F0B move.l -[A7], A3
00004802 2F0A move.l -[A7], A2
00004804 4EBA 1DFC jsr [PC + 0x1DFC /* 00006602 */]
00004808 4AAB 0096 tst.l [A3 + 0x96]
0000480C 504F addq.w A7, 8
0000480E 6724 beq +0x26 /* 00004834 */
00004810 4AAB 009A tst.l [A3 + 0x9A]
00004814 671E beq +0x20 /* 00004834 */
00004816 2F0B move.l -[A7], A3
00004818 4EBA 1C4A jsr [PC + 0x1C4A /* 00006464 */]
0000481C 584F addq.w A7, 4
0000481E 3F00 move.w -[A7], D0
00004820 2F0B move.l -[A7], A3
00004822 4EBA 1C22 jsr [PC + 0x1C22 /* 00006446 */]
00004826 584F addq.w A7, 4
00004828 3F00 move.w -[A7], D0
0000482A 2F2A 0048 move.l -[A7], [A2 + 0x48]
0000482E 4EAD DCF0 jsr [A5 - 0x2310]
00004832 504F addq.w A7, 8
label00004834:
00004834 42A7 clr.l -[A7]
00004836 2F0B move.l -[A7], A3
00004838 2F0A move.l -[A7], A2
0000483A 4EBA FC66 jsr [PC - 0x39A /* 000044A2 */]
0000483E 2F0B move.l -[A7], A3
00004840 2F0A move.l -[A7], A2
00004842 4EBA 01BC jsr [PC + 0x1BC /* 00004A00 */]
00004846 4AAB 0096 tst.l [A3 + 0x96]
0000484A 4FEF 0014 lea.l A7, [A7 + 0x14]
0000484E 6742 beq +0x44 /* 00004892 */
00004850 4AAB 009A tst.l [A3 + 0x9A]
00004854 673C beq +0x3E /* 00004892 */
00004856 306F 005A movea.w A0, [A7 + 0x5A]
0000485A 2F08 move.l -[A7], A0
0000485C 2F2B 0096 move.l -[A7], [A3 + 0x96]
00004860 4EBA D3CC jsr [PC - 0x2C34 /* 00001C2E */]
00004864 306F 0064 movea.w A0, [A7 + 0x64]
00004868 2F08 move.l -[A7], A0
0000486A 2F2B 009A move.l -[A7], [A3 + 0x9A]
0000486E 4EBA D3BE jsr [PC - 0x2C42 /* 00001C2E */]
00004872 302F 006C move.w D0, [A7 + 0x6C]
00004876 48C0 ext.l D0
00004878 4480 neg.l D0
0000487A 3F00 move.w -[A7], D0
0000487C 302F 006C move.w D0, [A7 + 0x6C]
00004880 48C0 ext.l D0
00004882 4480 neg.l D0
00004884 3F00 move.w -[A7], D0
00004886 2F2A 0048 move.l -[A7], [A2 + 0x48]
0000488A 4EAD DCF0 jsr [A5 - 0x2310]
0000488E 4FEF 0018 lea.l A7, [A7 + 0x18]
label00004892:
00004892 2F0B move.l -[A7], A3
00004894 2F0A move.l -[A7], A2
00004896 4EBA 29B8 jsr [PC + 0x29B8 /* 00007250 */]
0000489A 4878 0001 push.l 0x1
0000489E 3F2B 0018 move.w -[A7], [A3 + 0x18]
000048A2 3F2B 001A move.w -[A7], [A3 + 0x1A]
000048A6 2F2A 0054 move.l -[A7], [A2 + 0x54]
000048AA 2F2A 0048 move.l -[A7], [A2 + 0x48]
000048AE 4EAD E3C0 jsr [A5 - 0x1C40]
000048B2 4AAB 00A6 tst.l [A3 + 0xA6]
000048B6 56C0 sne D0
000048B8 4400 neg.b D0
000048BA 4880 ext.w D0
000048BC 48C0 ext.l D0
000048BE 2F00 move.l -[A7], D0
000048C0 486B 0010 pea.l [A3 + 0x10]
000048C4 2F0B move.l -[A7], A3
000048C6 2F0A move.l -[A7], A2
000048C8 4EBA 22C0 jsr [PC + 0x22C0 /* 00006B8A */]
000048CC 4A86 tst.l D6
000048CE 4FEF 0028 lea.l A7, [A7 + 0x28]
000048D2 6600 00D6 bne +0xD8 /* 000049AA */
000048D6 4AAA 0054 tst.l [A2 + 0x54]
000048DA 6600 00CE bne +0xD0 /* 000049AA */
000048DE 4AAD ADBA tst.l [A5 - 0x5246]
000048E2 6600 00C6 bne +0xC8 /* 000049AA */
000048E6 2F14 move.l -[A7], [A4]
000048E8 3F2B 00B2 move.w -[A7], [A3 + 0xB2]
000048EC 4EAD E2B0 jsr [A5 - 0x1D50]
000048F0 2C48 movea.l A6, A0
000048F2 1F3C 000A move.b -[A7], 0xA /* '\n' */
000048F6 2F2A 0048 move.l -[A7], [A2 + 0x48]
000048FA 4EAD E818 jsr [A5 - 0x17E8]
000048FE 2808 move.l D4, A0
00004900 2F0E move.l -[A7], A6
00004902 2F04 move.l -[A7], D4
00004904 4EAD E2B8 jsr [A5 - 0x1D48]
00004908 2A00 move.l D5, D0
0000490A 4A03 tst.b D3
0000490C 4FEF 0014 lea.l A7, [A7 + 0x14]
00004910 6624 bne +0x26 /* 00004936 */
00004912 2F2B 00A2 move.l -[A7], [A3 + 0xA2]
00004916 2F2A 0048 move.l -[A7], [A2 + 0x48]
0000491A 4EAD E5E0 jsr [A5 - 0x1A20]
0000491E 2F0B move.l -[A7], A3
00004920 2F0A move.l -[A7], A2
00004922 4EBA 07D2 jsr [PC + 0x7D2 /* 000050F6 */]
00004926 2F2B 00A2 move.l -[A7], [A3 + 0xA2]
0000492A 2F2A 0048 move.l -[A7], [A2 + 0x48]
0000492E 4EAD E5E8 jsr [A5 - 0x1A18]
00004932 4FEF 0018 lea.l A7, [A7 + 0x18]
label00004936:
00004936 4AAF 0064 tst.l [A7 + 0x64]
0000493A 6716 beq +0x18 /* 00004952 */
0000493C 4A85 tst.l D5
0000493E 6604 bne +0x6 /* 00004944 */
00004940 7002 moveq.l D0, 0x02
00004942 6002 bra +0x4 /* 00004946 */
label00004944:
00004944 7006 moveq.l D0, 0x06
label00004946:
00004946 1F00 move.b -[A7], D0
00004948 2F2A 0048 move.l -[A7], [A2 + 0x48]
0000494C 4EAD E8E8 jsr [A5 - 0x1718]
00004950 5C4F addq.w A7, 6
label00004952:
00004952 2F14 move.l -[A7], [A4]
00004954 1F3C 0001 move.b -[A7], 0x1
00004958 42A7 clr.l -[A7]
0000495A 2F2A 0048 move.l -[A7], [A2 + 0x48]
0000495E 4EBA C53C jsr [PC - 0x3AC4 /* 00000E9C */]
00004962 4A03 tst.b D3
00004964 4FEF 000E lea.l A7, [A7 + 0xE]
00004968 6640 bne +0x42 /* 000049AA */
0000496A 4A85 tst.l D5
0000496C 6714 beq +0x16 /* 00004982 */
0000496E 2F0E move.l -[A7], A6
00004970 2F04 move.l -[A7], D4
00004972 3F2B 00B2 move.w -[A7], [A3 + 0xB2]
00004976 2F2A 0048 move.l -[A7], [A2 + 0x48]
0000497A 4EAD E2C0 jsr [A5 - 0x1D40]
0000497E 4FEF 000E lea.l A7, [A7 + 0xE]
label00004982:
00004982 2F0E move.l -[A7], A6
00004984 1F3C 000A move.b -[A7], 0xA /* '\n' */
00004988 2F2A 0048 move.l -[A7], [A2 + 0x48]
0000498C 4EAD E820 jsr [A5 - 0x17E0]
00004990 2F14 move.l -[A7], [A4]
00004992 1F3C 0006 move.b -[A7], 0x6
00004996 2F2A 0048 move.l -[A7], [A2 + 0x48]
0000499A 4EAD E818 jsr [A5 - 0x17E8]
0000499E 5C4F addq.w A7, 6
000049A0 3F10 move.w -[A7], [A0]
000049A2 4EAD E728 jsr [A5 - 0x18D8]
000049A6 4FEF 0010 lea.l A7, [A7 + 0x10]
label000049AA:
000049AA 7000 moveq.l D0, 0x00
000049AC 4FEF 0026 lea.l A7, [A7 + 0x26]
000049B0 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
000049B4 4E75 rts
fn000049B6:
000049B6 48E7 0038 movem.l -[A7], A2,A3,A4
000049BA 4FEF FFF4 lea.l A7, [A7 - 0xC]
000049BE 286F 001C movea.l A4, [A7 + 0x1C]
000049C2 266F 0022 movea.l A3, [A7 + 0x22]
000049C6 4AAC 0054 tst.l [A4 + 0x54]
000049CA 662A bne +0x2C /* 000049F6 */
000049CC 4A2F 0020 tst.b [A7 + 0x20]
000049D0 6624 bne +0x26 /* 000049F6 */
000049D2 200B move.l D0, A3
000049D4 6712 beq +0x14 /* 000049E8 */
000049D6 45D7 lea.l A2, [A7]
000049D8 2E93 move.l [A7], [A3]
000049DA 2F6B 0004 0004 move.l [A7 + 0x4], [A3 + 0x4]
000049E0 2F6B 0008 0008 move.l [A7 + 0x8], [A3 + 0x8]
000049E6 6002 bra +0x4 /* 000049EA */
label000049E8:
000049E8 95CA sub.l A2, A2
label000049EA:
000049EA 2F0A move.l -[A7], A2
000049EC 2F2C 0048 move.l -[A7], [A4 + 0x48]
000049F0 4EAD DBDA jsr [A5 - 0x2426]
000049F4 504F addq.w A7, 8
label000049F6:
000049F6 4FEF 000C lea.l A7, [A7 + 0xC]
000049FA 4CDF 1C00 movem.l A2,A3,A4, [A7]+
000049FE 4E75 rts
fn00004A00:
00004A00 48E7 1E30 movem.l -[A7], D3,D4,D5,D6,A2,A3
00004A04 4FEF FFE8 lea.l A7, [A7 - 0x18]
00004A08 266F 0034 movea.l A3, [A7 + 0x34]
00004A0C 246F 0038 movea.l A2, [A7 + 0x38]
00004A10 4AAA 0096 tst.l [A2 + 0x96]
00004A14 670C beq +0xE /* 00004A22 */
00004A16 4AAA 009A tst.l [A2 + 0x9A]
00004A1A 6706 beq +0x8 /* 00004A22 */
00004A1C 4AAA 0092 tst.l [A2 + 0x92]
00004A20 661A bne +0x1C /* 00004A3C */
label00004A22:
00004A22 1F3C 0002 move.b -[A7], 0x2
00004A26 486A 0018 pea.l [A2 + 0x18]
00004A2A 2F0A move.l -[A7], A2
00004A2C 2F0B move.l -[A7], A3
00004A2E 4EBA 01A0 jsr [PC + 0x1A0 /* 00004BD0 */]
00004A32 4FEF 0026 lea.l A7, [A7 + 0x26]
00004A36 4CDF 0C78 movem.l D3,D4,D5,D6,A2,A3, [A7]+
00004A3A 4E75 rts
label00004A3C:
00004A3C 206A 0092 movea.l A0, [A2 + 0x92]
00004A40 2050 movea.l A0, [A0]
00004A42 2F68 0002 0008 move.l [A7 + 0x8], [A0 + 0x2]
00004A48 2F68 0006 000C move.l [A7 + 0xC], [A0 + 0x6]
00004A4E 302F 0008 move.w D0, [A7 + 0x8]
00004A52 48C0 ext.l D0
00004A54 382F 000C move.w D4, [A7 + 0xC]
00004A58 48C4 ext.l D4
00004A5A 9880 sub.l D4, D0
00004A5C 306A 00B4 movea.w A0, [A2 + 0xB4]
00004A60 2608 move.l D3, A0
00004A62 4A6D B48A tst.w [A5 - 0x4B76]
00004A66 6700 008A beq +0x8C /* 00004AF2 */
00004A6A 486F 0010 pea.l [A7 + 0x10]
00004A6E 2F2B 0048 move.l -[A7], [A3 + 0x48]
00004A72 4EAD F6B8 jsr [A5 - 0x948]
00004A76 486F 0018 pea.l [A7 + 0x18]
00004A7A A8AE syscall EmptyRect
00004A7C 101F move.b D0, [A7]+
00004A7E 5C4F addq.w A7, 6
00004A80 6670 bne +0x72 /* 00004AF2 */
00004A82 486F 0010 pea.l [A7 + 0x10]
00004A86 2F0A move.l -[A7], A2
00004A88 4EBA 19BC jsr [PC + 0x19BC /* 00006446 */]
00004A8C 322A 001A move.w D1, [A2 + 0x1A]
00004A90 48C1 ext.l D1
00004A92 342F 0012 move.w D2, [A7 + 0x12]
00004A96 48C2 ext.l D2
00004A98 9481 sub.l D2, D1
00004A9A D480 add.l D2, D0
00004A9C 584F addq.w A7, 4
00004A9E 3F02 move.w -[A7], D2
00004AA0 2F0A move.l -[A7], A2
00004AA2 4EBA 19C0 jsr [PC + 0x19C0 /* 00006464 */]
00004AA6 322A 0018 move.w D1, [A2 + 0x18]
00004AAA 48C1 ext.l D1
00004AAC 342F 0012 move.w D2, [A7 + 0x12]
00004AB0 48C2 ext.l D2
00004AB2 9481 sub.l D2, D1
00004AB4 D480 add.l D2, D0
00004AB6 584F addq.w A7, 4
00004AB8 3F02 move.w -[A7], D2
00004ABA A8A8 syscall OffsetRect
00004ABC 302F 0012 move.w D0, [A7 + 0x12]
00004AC0 48C0 ext.l D0
00004AC2 3A2F 0016 move.w D5, [A7 + 0x16]
00004AC6 48C5 ext.l D5
00004AC8 9A80 sub.l D5, D0
00004ACA 302F 0010 move.w D0, [A7 + 0x10]
00004ACE 48C0 ext.l D0
00004AD0 3C2F 0014 move.w D6, [A7 + 0x14]
00004AD4 48C6 ext.l D6
00004AD6 9C80 sub.l D6, D0
00004AD8 486F 0008 pea.l [A7 + 0x8]
00004ADC 486F 0014 pea.l [A7 + 0x14]
00004AE0 486F 0010 pea.l [A7 + 0x10]
00004AE4 A8AB syscall UnionRect
00004AE6 BA83 cmp.l D5, D3
00004AE8 6F02 ble +0x4 /* 00004AEC */
00004AEA 2605 move.l D3, D5
label00004AEC:
00004AEC BC84 cmp.l D6, D4
00004AEE 6F02 ble +0x4 /* 00004AF2 */
00004AF0 2806 move.l D4, D6
label00004AF2:
00004AF2 2EAA 0010 move.l [A7], [A2 + 0x10]
00004AF6 2F6A 0014 0004 move.l [A7 + 0x4], [A2 + 0x14]
00004AFC 4857 pea.l [A7]
00004AFE 2F04 move.l -[A7], D4
00004B00 2F03 move.l -[A7], D3
00004B02 2F0A move.l -[A7], A2
00004B04 2F0B move.l -[A7], A3
00004B06 4EBA 0050 jsr [PC + 0x50 /* 00004B58 */]
00004B0A 4AAA 0096 tst.l [A2 + 0x96]
00004B0E 4FEF 0014 lea.l A7, [A7 + 0x14]
00004B12 670C beq +0xE /* 00004B20 */
00004B14 206A 0096 movea.l A0, [A2 + 0x96]
00004B18 2050 movea.l A0, [A0]
00004B1A 4A28 0010 tst.b [A0 + 0x10]
00004B1E 6612 bne +0x14 /* 00004B32 */
label00004B20:
00004B20 4AAA 009A tst.l [A2 + 0x9A]
00004B24 6728 beq +0x2A /* 00004B4E */
00004B26 206A 009A movea.l A0, [A2 + 0x9A]
00004B2A 2050 movea.l A0, [A0]
00004B2C 4A28 0010 tst.b [A0 + 0x10]
00004B30 671C beq +0x1E /* 00004B4E */
label00004B32:
00004B32 2EAA 0018 move.l [A7], [A2 + 0x18]
00004B36 2F6A 001C 0004 move.l [A7 + 0x4], [A2 + 0x1C]
00004B3C 4857 pea.l [A7]
00004B3E 2F04 move.l -[A7], D4
00004B40 2F03 move.l -[A7], D3
00004B42 2F0A move.l -[A7], A2
00004B44 2F0B move.l -[A7], A3
00004B46 4EBA 0010 jsr [PC + 0x10 /* 00004B58 */]
00004B4A 4FEF 0014 lea.l A7, [A7 + 0x14]
label00004B4E:
00004B4E 4FEF 0018 lea.l A7, [A7 + 0x18]
00004B52 4CDF 0C78 movem.l D3,D4,D5,D6,A2,A3, [A7]+
00004B56 4E75 rts
fn00004B58:
00004B58 48E7 1830 movem.l -[A7], D3,D4,A2,A3
00004B5C 266F 0018 movea.l A3, [A7 + 0x18]
00004B60 246F 0024 movea.l A2, [A7 + 0x24]
00004B64 362A 0002 move.w D3, [A2 + 0x2]
00004B68 48C3 ext.l D3
00004B6A 322A 0006 move.w D1, [A2 + 0x6]
00004B6E 48C1 ext.l D1
00004B70 9283 sub.l D1, D3
00004B72 262F 001C move.l D3, [A7 + 0x1C]
00004B76 9681 sub.l D3, D1
00004B78 5383 subq.l D3, 1
00004B7A 3812 move.w D4, [A2]
00004B7C 48C4 ext.l D4
00004B7E 322A 0004 move.w D1, [A2 + 0x4]
00004B82 48C1 ext.l D1
00004B84 9284 sub.l D1, D4
00004B86 282F 0020 move.l D4, [A7 + 0x20]
00004B8A 9881 sub.l D4, D1
00004B8C 4A83 tst.l D3
00004B8E 6E04 bgt +0x6 /* 00004B94 */
00004B90 7000 moveq.l D0, 0x00
00004B92 6002 bra +0x4 /* 00004B96 */
label00004B94:
00004B94 2003 move.l D0, D3
label00004B96:
00004B96 2F00 move.l -[A7], D0
00004B98 2F2B 0096 move.l -[A7], [A3 + 0x96]
00004B9C 4EBA CF1A jsr [PC - 0x30E6 /* 00001AB8 */]
00004BA0 4A84 tst.l D4
00004BA2 6E04 bgt +0x6 /* 00004BA8 */
00004BA4 7000 moveq.l D0, 0x00
00004BA6 6002 bra +0x4 /* 00004BAA */
label00004BA8:
00004BA8 2004 move.l D0, D4
label00004BAA:
00004BAA 2F00 move.l -[A7], D0
00004BAC 2F2B 009A move.l -[A7], [A3 + 0x9A]
00004BB0 4EBA CF06 jsr [PC - 0x30FA /* 00001AB8 */]
00004BB4 1F3C 0002 move.b -[A7], 0x2
00004BB8 486B 0018 pea.l [A3 + 0x18]
00004BBC 2F0B move.l -[A7], A3
00004BBE 2F2F 002E move.l -[A7], [A7 + 0x2E]
00004BC2 4EBA 000C jsr [PC + 0xC /* 00004BD0 */]
00004BC6 4FEF 001E lea.l A7, [A7 + 0x1E]
00004BCA 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
00004BCE 4E75 rts
fn00004BD0:
00004BD0 48E7 1C3A movem.l -[A7], D3,D4,D5,A2,A3,A4,A6
00004BD4 4FEF FFF0 lea.l A7, [A7 - 0x10]
00004BD8 2C6F 0030 movea.l A6, [A7 + 0x30]
00004BDC 246F 0034 movea.l A2, [A7 + 0x34]
00004BE0 266F 0038 movea.l A3, [A7 + 0x38]
00004BE4 1A2F 003C move.b D5, [A7 + 0x3C]
00004BE8 362A 0010 move.w D3, [A2 + 0x10]
00004BEC 4AAA 008E tst.l [A2 + 0x8E]
00004BF0 675C beq +0x5E /* 00004C4E */
00004BF2 3F43 0008 move.w [A7 + 0x8], D3
00004BF6 286A 008E movea.l A4, [A2 + 0x8E]
00004BFA 2854 movea.l A4, [A4]
00004BFC 548C addq.l A4, 2
00004BFE 3014 move.w D0, [A4]
00004C00 48C0 ext.l D0
00004C02 322C 0004 move.w D1, [A4 + 0x4]
00004C06 48C1 ext.l D1
00004C08 9280 sub.l D1, D0
00004C0A 3003 move.w D0, D3
00004C0C 48C0 ext.l D0
00004C0E D081 add.l D0, D1
00004C10 3F40 000C move.w [A7 + 0xC], D0
00004C14 4AAA 0096 tst.l [A2 + 0x96]
00004C18 6724 beq +0x26 /* 00004C3E */
00004C1A 206A 0096 movea.l A0, [A2 + 0x96]
00004C1E 2050 movea.l A0, [A0]
00004C20 4A28 0010 tst.b [A0 + 0x10]
00004C24 6718 beq +0x1A /* 00004C3E */
00004C26 382A 0014 move.w D4, [A2 + 0x14]
00004C2A 48C4 ext.l D4
00004C2C 72F1 moveq.l D1, 0xFFFFFFF1
00004C2E D881 add.l D4, D1
00004C30 302F 000C move.w D0, [A7 + 0xC]
00004C34 48C0 ext.l D0
00004C36 B084 cmp.l D0, D4
00004C38 6F04 ble +0x6 /* 00004C3E */
00004C3A 3F44 000C move.w [A7 + 0xC], D4
label00004C3E:
00004C3E 3F6E 0042 000A move.w [A7 + 0xA], [A6 + 0x42]
00004C44 3F6E 0046 000E move.w [A7 + 0xE], [A6 + 0x46]
00004C4A 362F 000C move.w D3, [A7 + 0xC]
label00004C4E:
00004C4E 4A05 tst.b D5
00004C50 6706 beq +0x8 /* 00004C58 */
00004C52 0C05 0002 cmpi.b D5, 0x2
00004C56 6658 bne +0x5A /* 00004CB0 */
label00004C58:
00004C58 3F6A 0012 0002 move.w [A7 + 0x2], [A2 + 0x12]
00004C5E 3E83 move.w [A7], D3
00004C60 4AAA 0096 tst.l [A2 + 0x96]
00004C64 671C beq +0x1E /* 00004C82 */
00004C66 206A 0096 movea.l A0, [A2 + 0x96]
00004C6A 2050 movea.l A0, [A0]
00004C6C 4A28 0010 tst.b [A0 + 0x10]
00004C70 6710 beq +0x12 /* 00004C82 */
00004C72 302A 0014 move.w D0, [A2 + 0x14]
00004C76 48C0 ext.l D0
00004C78 72F1 moveq.l D1, 0xFFFFFFF1
00004C7A D081 add.l D0, D1
00004C7C 3F40 0004 move.w [A7 + 0x4], D0
00004C80 6006 bra +0x8 /* 00004C88 */
label00004C82:
00004C82 3F6A 0014 0004 move.w [A7 + 0x4], [A2 + 0x14]
label00004C88:
00004C88 4AAA 009A tst.l [A2 + 0x9A]
00004C8C 671C beq +0x1E /* 00004CAA */
00004C8E 206A 009A movea.l A0, [A2 + 0x9A]
00004C92 2050 movea.l A0, [A0]
00004C94 4A28 0010 tst.b [A0 + 0x10]
00004C98 6710 beq +0x12 /* 00004CAA */
00004C9A 302A 0016 move.w D0, [A2 + 0x16]
00004C9E 48C0 ext.l D0
00004CA0 72F1 moveq.l D1, 0xFFFFFFF1
00004CA2 D081 add.l D0, D1
00004CA4 3F40 0006 move.w [A7 + 0x6], D0
00004CA8 6006 bra +0x8 /* 00004CB0 */
label00004CAA:
00004CAA 3F6A 0016 0006 move.w [A7 + 0x6], [A2 + 0x16]
label00004CB0:
00004CB0 7000 moveq.l D0, 0x00
00004CB2 1005 move.b D0, D5
00004CB4 6722 beq +0x24 /* 00004CD8 */
00004CB6 5380 subq.l D0, 1
00004CB8 6728 beq +0x2A /* 00004CE2 */
00004CBA 5380 subq.l D0, 1
00004CBC 6702 beq +0x4 /* 00004CC0 */
00004CBE 6042 bra +0x44 /* 00004D02 */
label00004CC0:
00004CC0 4AAA 008E tst.l [A2 + 0x8E]
00004CC4 6712 beq +0x14 /* 00004CD8 */
00004CC6 4857 pea.l [A7]
00004CC8 486F 000C pea.l [A7 + 0xC]
00004CCC 2F0B move.l -[A7], A3
00004CCE A8AB syscall UnionRect
00004CD0 376F 0006 0006 move.w [A3 + 0x6], [A7 + 0x6]
00004CD6 602A bra +0x2C /* 00004D02 */
label00004CD8:
00004CD8 2697 move.l [A3], [A7]
00004CDA 276F 0004 0004 move.l [A3 + 0x4], [A7 + 0x4]
00004CE0 6020 bra +0x22 /* 00004D02 */
label00004CE2:
00004CE2 4AAA 008E tst.l [A2 + 0x8E]
00004CE6 670C beq +0xE /* 00004CF4 */
00004CE8 26AF 0008 move.l [A3], [A7 + 0x8]
00004CEC 276F 000C 0004 move.l [A3 + 0x4], [A7 + 0xC]
00004CF2 600E bra +0x10 /* 00004D02 */
label00004CF4:
00004CF4 426B 0004 clr.w [A3 + 0x4]
00004CF8 426B 0006 clr.w [A3 + 0x6]
00004CFC 4253 clr.w [A3]
00004CFE 426B 0002 clr.w [A3 + 0x2]
label00004D02:
00004D02 4FEF 0010 lea.l A7, [A7 + 0x10]
00004D06 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
00004D0A 4E75 rts
fn00004D0C:
00004D0C 2F0A move.l -[A7], A2
00004D0E 246F 0008 movea.l A2, [A7 + 0x8]
00004D12 4AAA 008E tst.l [A2 + 0x8E]
00004D16 670E beq +0x10 /* 00004D26 */
00004D18 2F2A 008E move.l -[A7], [A2 + 0x8E]
00004D1C 4EAD DAA2 jsr [A5 - 0x255E]
00004D20 42AA 008E clr.l [A2 + 0x8E]
00004D24 584F addq.w A7, 4
label00004D26:
00004D26 4AAA 0092 tst.l [A2 + 0x92]
00004D2A 670E beq +0x10 /* 00004D3A */
00004D2C 2F2A 0092 move.l -[A7], [A2 + 0x92]
00004D30 4EAD DAA2 jsr [A5 - 0x255E]
00004D34 42AA 0092 clr.l [A2 + 0x92]
00004D38 584F addq.w A7, 4
label00004D3A:
00004D3A 245F movea.l A2, [A7]+
00004D3C 4E75 rts
fn00004D3E:
00004D3E 2F0A move.l -[A7], A2
00004D40 246F 000C movea.l A2, [A7 + 0xC]
00004D44 2F0A move.l -[A7], A2
00004D46 4EBA FFC4 jsr [PC - 0x3C /* 00004D0C */]
00004D4A 2F2A 008A move.l -[A7], [A2 + 0x8A]
00004D4E 4EBA D22E jsr [PC - 0x2DD2 /* 00001F7E */]
00004D52 206F 0010 movea.l A0, [A7 + 0x10]
00004D56 2F28 0054 move.l -[A7], [A0 + 0x54]
00004D5A 2F28 0048 move.l -[A7], [A0 + 0x48]
00004D5E 4EAD E380 jsr [A5 - 0x1C80]
00004D62 4AAA 0076 tst.l [A2 + 0x76]
00004D66 4FEF 0010 lea.l A7, [A7 + 0x10]
00004D6A 6706 beq +0x8 /* 00004D72 */
00004D6C 2F2A 0076 move.l -[A7], [A2 + 0x76]
00004D70 A8D9 syscall DisposRgn/DisposeRgn
label00004D72:
00004D72 2F2A 0096 move.l -[A7], [A2 + 0x96]
00004D76 4EBA CB80 jsr [PC - 0x3480 /* 000018F8 */]
00004D7A 2F2A 009A move.l -[A7], [A2 + 0x9A]
00004D7E 4EBA CB78 jsr [PC - 0x3488 /* 000018F8 */]
00004D82 4AAA 009E tst.l [A2 + 0x9E]
00004D86 504F addq.w A7, 8
00004D88 670A beq +0xC /* 00004D94 */
00004D8A 2F2A 009E move.l -[A7], [A2 + 0x9E]
00004D8E 4EAD E578 jsr [A5 - 0x1A88]
00004D92 584F addq.w A7, 4
label00004D94:
00004D94 245F movea.l A2, [A7]+
00004D96 4E75 rts
fn00004D98:
00004D98 48E7 0030 movem.l -[A7], A2,A3
00004D9C 4FEF FFE0 lea.l A7, [A7 - 0x20]
00004DA0 266F 002C movea.l A3, [A7 + 0x2C]
00004DA4 246F 0030 movea.l A2, [A7 + 0x30]
00004DA8 4AAA 0092 tst.l [A2 + 0x92]
00004DAC 6700 0160 beq +0x162 /* 00004F0E */
00004DB0 2F6A 0018 0010 move.l [A7 + 0x10], [A2 + 0x18]
00004DB6 2F6A 001C 0014 move.l [A7 + 0x14], [A2 + 0x1C]
00004DBC 066F 0010 0016 addi.w [A7 + 0x16], 0x10
00004DC2 554F subq.w A7, 2
00004DC4 486F 0012 pea.l [A7 + 0x12]
00004DC8 206B 0048 movea.l A0, [A3 + 0x48]
00004DCC 2F28 0018 move.l -[A7], [A0 + 0x18]
00004DD0 A8E9 syscall RectInRgn
00004DD2 101F move.b D0, [A7]+
00004DD4 6700 0138 beq +0x13A /* 00004F0E */
00004DD8 4EAD DD60 jsr [A5 - 0x22A0]
00004DDC 4EAD DD70 jsr [A5 - 0x2290]
00004DE0 42A7 clr.l -[A7]
00004DE2 4EAD DD50 jsr [A5 - 0x22B0]
00004DE6 4AAA 008E tst.l [A2 + 0x8E]
00004DEA 584F addq.w A7, 4
00004DEC 6700 0096 beq +0x98 /* 00004E84 */
00004DF0 1F3C 0001 move.b -[A7], 0x1
00004DF4 486F 000A pea.l [A7 + 0xA]
00004DF8 2F0A move.l -[A7], A2
00004DFA 2F0B move.l -[A7], A3
00004DFC 4EBA FDD2 jsr [PC - 0x22E /* 00004BD0 */]
00004E00 486F 0016 pea.l [A7 + 0x16]
00004E04 A87B syscall ClipRect
00004E06 206A 008E movea.l A0, [A2 + 0x8E]
00004E0A 2050 movea.l A0, [A0]
00004E0C 2F68 0002 0026 move.l [A7 + 0x26], [A0 + 0x2]
00004E12 2F68 0006 002A move.l [A7 + 0x2A], [A0 + 0x6]
00004E18 486F 0026 pea.l [A7 + 0x26]
00004E1C 302F 002C move.w D0, [A7 + 0x2C]
00004E20 48C0 ext.l D0
00004E22 322F 001C move.w D1, [A7 + 0x1C]
00004E26 48C1 ext.l D1
00004E28 9280 sub.l D1, D0
00004E2A 3F01 move.w -[A7], D1
00004E2C 302F 002C move.w D0, [A7 + 0x2C]
00004E30 48C0 ext.l D0
00004E32 322F 001C move.w D1, [A7 + 0x1C]
00004E36 48C1 ext.l D1
00004E38 9280 sub.l D1, D0
00004E3A 3F01 move.w -[A7], D1
00004E3C A8A8 syscall OffsetRect
00004E3E 7001 moveq.l D0, 0x01
00004E40 2F40 0012 move.l [A7 + 0x12], D0
00004E44 2F2B 0054 move.l -[A7], [A3 + 0x54]
00004E48 486F 0016 pea.l [A7 + 0x16]
00004E4C 2F2B 0048 move.l -[A7], [A3 + 0x48]
00004E50 4EAD E400 jsr [A5 - 0x1C00]
00004E54 486F 0032 pea.l [A7 + 0x32]
00004E58 2F2A 008E move.l -[A7], [A2 + 0x8E]
00004E5C 2F2B 0048 move.l -[A7], [A3 + 0x48]
00004E60 4EAD DAAE jsr [A5 - 0x2552]
00004E64 3F6F 0042 0036 move.w [A7 + 0x36], [A7 + 0x42]
00004E6A 4AAB 0054 tst.l [A3 + 0x54]
00004E6E 4FEF 0026 lea.l A7, [A7 + 0x26]
00004E72 6610 bne +0x12 /* 00004E84 */
00004E74 3F2F 001C move.w -[A7], [A7 + 0x1C]
00004E78 2F0A move.l -[A7], A2
00004E7A 2F0B move.l -[A7], A3
00004E7C 4EBA 009A jsr [PC + 0x9A /* 00004F18 */]
00004E80 4FEF 000A lea.l A7, [A7 + 0xA]
label00004E84:
00004E84 046F 0010 0016 subi.w [A7 + 0x16], 0x10
00004E8A 486F 0010 pea.l [A7 + 0x10]
00004E8E A87B syscall ClipRect
00004E90 206A 0092 movea.l A0, [A2 + 0x92]
00004E94 2050 movea.l A0, [A0]
00004E96 2F68 0002 0018 move.l [A7 + 0x18], [A0 + 0x2]
00004E9C 2F68 0006 001C move.l [A7 + 0x1C], [A0 + 0x6]
00004EA2 486F 0018 pea.l [A7 + 0x18]
00004EA6 2F0A move.l -[A7], A2
00004EA8 4EBA 159C jsr [PC + 0x159C /* 00006446 */]
00004EAC 322F 0022 move.w D1, [A7 + 0x22]
00004EB0 48C1 ext.l D1
00004EB2 342A 001A move.w D2, [A2 + 0x1A]
00004EB6 48C2 ext.l D2
00004EB8 9481 sub.l D2, D1
00004EBA 9480 sub.l D2, D0
00004EBC 584F addq.w A7, 4
00004EBE 3F02 move.w -[A7], D2
00004EC0 2F0A move.l -[A7], A2
00004EC2 4EBA 15A0 jsr [PC + 0x15A0 /* 00006464 */]
00004EC6 322F 0022 move.w D1, [A7 + 0x22]
00004ECA 48C1 ext.l D1
00004ECC 342A 0018 move.w D2, [A2 + 0x18]
00004ED0 48C2 ext.l D2
00004ED2 9481 sub.l D2, D1
00004ED4 9480 sub.l D2, D0
00004ED6 584F addq.w A7, 4
00004ED8 3F02 move.w -[A7], D2
00004EDA A8A8 syscall OffsetRect
00004EDC 4297 clr.l [A7]
00004EDE 2F2B 0054 move.l -[A7], [A3 + 0x54]
00004EE2 486F 0004 pea.l [A7 + 0x4]
00004EE6 2F2B 0048 move.l -[A7], [A3 + 0x48]
00004EEA 4EAD E400 jsr [A5 - 0x1C00]
00004EEE 486F 0024 pea.l [A7 + 0x24]
00004EF2 2F2A 0092 move.l -[A7], [A2 + 0x92]
00004EF6 2F2B 0048 move.l -[A7], [A3 + 0x48]
00004EFA 4EAD DAAE jsr [A5 - 0x2552]
00004EFE 4EAD DD78 jsr [A5 - 0x2288]
00004F02 4EAD DD68 jsr [A5 - 0x2298]
00004F06 4EAD DD58 jsr [A5 - 0x22A8]
00004F0A 4FEF 0018 lea.l A7, [A7 + 0x18]
label00004F0E:
00004F0E 4FEF 0020 lea.l A7, [A7 + 0x20]
00004F12 4CDF 0C00 movem.l A2,A3, [A7]+
00004F16 4E75 rts
fn00004F18:
00004F18 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
00004F1C 4FEF FFF4 lea.l A7, [A7 - 0xC]
00004F20 246F 0024 movea.l A2, [A7 + 0x24]
00004F24 286F 0028 movea.l A4, [A7 + 0x28]
00004F28 382F 002C move.w D4, [A7 + 0x2C]
00004F2C 2F6C 00AA 0008 move.l [A7 + 0x8], [A4 + 0xAA]
00004F32 1F3C 0009 move.b -[A7], 0x9 /* '\t' */
00004F36 2F2A 0048 move.l -[A7], [A2 + 0x48]
00004F3A 4EAD E818 jsr [A5 - 0x17E8]
00004F3E 2610 move.l D3, [A0]
00004F40 42A7 clr.l -[A7]
00004F42 486F 0012 pea.l [A7 + 0x12]
00004F46 486F 000E pea.l [A7 + 0xE]
00004F4A 486F 0018 pea.l [A7 + 0x18]
00004F4E 486F 001A pea.l [A7 + 0x1A]
00004F52 2F03 move.l -[A7], D3
00004F54 2F2A 0048 move.l -[A7], [A2 + 0x48]
00004F58 4EAD E8B8 jsr [A5 - 0x1748]
00004F5C 4AAF 002A tst.l [A7 + 0x2A]
00004F60 4FEF 0022 lea.l A7, [A7 + 0x22]
00004F64 6742 beq +0x44 /* 00004FA8 */
00004F66 2F2A 0048 move.l -[A7], [A2 + 0x48]
00004F6A 4EAD E848 jsr [A5 - 0x17B8]
00004F6E 5300 subq.b D0, 1
00004F70 584F addq.w A7, 4
00004F72 6734 beq +0x36 /* 00004FA8 */
00004F74 266C 0092 movea.l A3, [A4 + 0x92]
00004F78 2653 movea.l A3, [A3]
00004F7A 548B addq.l A3, 2
00004F7C 302B 0004 move.w D0, [A3 + 0x4]
00004F80 B053 cmp.w D0, [A3]
00004F82 6F24 ble +0x26 /* 00004FA8 */
00004F84 A89E syscall PenNormal
00004F86 4878 0021 push.l 0x21 /* '!' */
00004F8A A862 syscall ForeColor
00004F8C 3F2A 0042 move.w -[A7], [A2 + 0x42]
00004F90 3004 move.w D0, D4
00004F92 48C0 ext.l D0
00004F94 5380 subq.l D0, 1
00004F96 3F00 move.w -[A7], D0
00004F98 A893 syscall MoveTo
00004F9A 3F2A 0046 move.w -[A7], [A2 + 0x46]
00004F9E 3004 move.w D0, D4
00004FA0 48C0 ext.l D0
00004FA2 5380 subq.l D0, 1
00004FA4 3F00 move.w -[A7], D0
00004FA6 A891 syscall LineTo
label00004FA8:
00004FA8 4FEF 000C lea.l A7, [A7 + 0xC]
00004FAC 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00004FB0 4E75 rts
fn00004FB2:
00004FB2 514F subq.w A7, 8
00004FB4 1F3C 0001 move.b -[A7], 0x1
00004FB8 486F 0002 pea.l [A7 + 0x2]
00004FBC 2F2F 0016 move.l -[A7], [A7 + 0x16]
00004FC0 2F2F 0016 move.l -[A7], [A7 + 0x16]
00004FC4 4EBA FC0A jsr [PC - 0x3F6 /* 00004BD0 */]
00004FC8 2F2F 002E move.l -[A7], [A7 + 0x2E]
00004FCC 2F2F 002E move.l -[A7], [A7 + 0x2E]
00004FD0 2F2F 002E move.l -[A7], [A7 + 0x2E]
00004FD4 554F subq.w A7, 2
00004FD6 2F2F 0030 move.l -[A7], [A7 + 0x30]
00004FDA 486F 0020 pea.l [A7 + 0x20]
00004FDE A8AD syscall PtInRect
00004FE0 101F move.b D0, [A7]+
00004FE2 7200 moveq.l D1, 0x00
00004FE4 1200 move.b D1, D0
00004FE6 2F01 move.l -[A7], D1
00004FE8 2F2F 0032 move.l -[A7], [A7 + 0x32]
00004FEC 2F2F 0032 move.l -[A7], [A7 + 0x32]
00004FF0 4EBA 0008 jsr [PC + 0x8 /* 00004FFA */]
00004FF4 4FEF 002E lea.l A7, [A7 + 0x2E]
00004FF8 4E75 rts
fn00004FFA:
00004FFA 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
00004FFE 4FEF FFF4 lea.l A7, [A7 - 0xC]
00005002 266F 0034 movea.l A3, [A7 + 0x34]
00005006 2A2F 003C move.l D5, [A7 + 0x3C]
0000500A 282F 0040 move.l D4, [A7 + 0x40]
0000500E 2C6F 0044 movea.l A6, [A7 + 0x44]
00005012 286F 0048 movea.l A4, [A7 + 0x48]
00005016 2EAB 008A move.l [A7], [A3 + 0x8A]
0000501A 2F0B move.l -[A7], A3
0000501C 4EBA 1428 jsr [PC + 0x1428 /* 00006446 */]
00005020 4480 neg.l D0
00005022 322B 0012 move.w D1, [A3 + 0x12]
00005026 48C1 ext.l D1
00005028 D280 add.l D1, D0
0000502A 2C01 move.l D6, D1
0000502C 2F0B move.l -[A7], A3
0000502E 4EBA 1434 jsr [PC + 0x1434 /* 00006464 */]
00005032 4480 neg.l D0
00005034 322B 0010 move.w D1, [A3 + 0x10]
00005038 48C1 ext.l D1
0000503A D280 add.l D1, D0
0000503C 2E01 move.l D7, D1
0000503E 4AAF 0008 tst.l [A7 + 0x8]
00005042 504F addq.w A7, 8
00005044 660C bne +0xE /* 00005052 */
00005046 7000 moveq.l D0, 0x00
00005048 4FEF 000C lea.l A7, [A7 + 0xC]
0000504C 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00005050 4E75 rts
label00005052:
00005052 594F subq.w A7, 4
00005054 2F2F 0004 move.l -[A7], [A7 + 0x4]
00005058 4EAD D9AC jsr [A5 - 0x2654]
0000505C 201F move.l D0, [A7]+
0000505E 7224 moveq.l D1, 0x24
00005060 4EAD D8FE jsr [A5 - 0x2702]
00005064 2600 move.l D3, D0
00005066 2057 movea.l A0, [A7]
00005068 2450 movea.l A2, [A0]
0000506A 607A bra +0x7C /* 000050E6 */
label0000506C:
0000506C 2F52 0004 move.l [A7 + 0x4], [A2]
00005070 2F6A 0004 0008 move.l [A7 + 0x8], [A2 + 0x4]
00005076 4A2A 0021 tst.b [A2 + 0x21]
0000507A 6710 beq +0x12 /* 0000508C */
0000507C 4A85 tst.l D5
0000507E 6660 bne +0x62 /* 000050E0 */
00005080 486F 0004 pea.l [A7 + 0x4]
00005084 3F06 move.w -[A7], D6
00005086 3F07 move.w -[A7], D7
00005088 A8A8 syscall OffsetRect
0000508A 6012 bra +0x14 /* 0000509E */
label0000508C:
0000508C 4A85 tst.l D5
0000508E 6750 beq +0x52 /* 000050E0 */
00005090 486F 0004 pea.l [A7 + 0x4]
00005094 3F2B 0012 move.w -[A7], [A3 + 0x12]
00005098 3F2B 0010 move.w -[A7], [A3 + 0x10]
0000509C A8A8 syscall OffsetRect
label0000509E:
0000509E 554F subq.w A7, 2
000050A0 2F2F 003A move.l -[A7], [A7 + 0x3A]
000050A4 486F 000A pea.l [A7 + 0xA]
000050A8 A8AD syscall PtInRect
000050AA 101F move.b D0, [A7]+
000050AC 6732 beq +0x34 /* 000050E0 */
000050AE 4A84 tst.l D4
000050B0 670C beq +0xE /* 000050BE */
000050B2 2044 movea.l A0, D4
000050B4 43D2 lea.l A1, [A2]
000050B6 7008 moveq.l D0, 0x08
label000050B8:
000050B8 20D9 move.l [A0]+, [A1]+
000050BA 51C8 FFFC dbf D0, -0x6 /* 000050B8 */
label000050BE:
000050BE 200E move.l D0, A6
000050C0 670A beq +0xC /* 000050CC */
000050C2 2CAF 0004 move.l [A6], [A7 + 0x4]
000050C6 2D6F 0008 0004 move.l [A6 + 0x4], [A7 + 0x8]
label000050CC:
000050CC 200C move.l D0, A4
000050CE 6704 beq +0x6 /* 000050D4 */
000050D0 28AA 0014 move.l [A4], [A2 + 0x14]
label000050D4:
000050D4 7001 moveq.l D0, 0x01
000050D6 4FEF 000C lea.l A7, [A7 + 0xC]
000050DA 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
000050DE 4E75 rts
label000050E0:
000050E0 5383 subq.l D3, 1
000050E2 7024 moveq.l D0, 0x24
000050E4 D5C0 add.l A2, D0
label000050E6:
000050E6 4A83 tst.l D3
000050E8 6682 bne -0x7C /* 0000506C */
000050EA 7000 moveq.l D0, 0x00
000050EC 4FEF 000C lea.l A7, [A7 + 0xC]
000050F0 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
000050F4 4E75 rts
fn000050F6:
000050F6 48E7 183A movem.l -[A7], D3,D4,A2,A3,A4,A6
000050FA 266F 001C movea.l A3, [A7 + 0x1C]
000050FE 1F3C 0002 move.b -[A7], 0x2
00005102 2F2B 0048 move.l -[A7], [A3 + 0x48]
00005106 4EAD E818 jsr [A5 - 0x17E8]
0000510A 2610 move.l D3, [A0]
0000510C 1F3C 0003 move.b -[A7], 0x3
00005110 2F2B 0048 move.l -[A7], [A3 + 0x48]
00005114 4EAD E818 jsr [A5 - 0x17E8]
00005118 2448 movea.l A2, A0
0000511A 2F03 move.l -[A7], D3
0000511C 1F3C 0006 move.b -[A7], 0x6
00005120 2F2B 0048 move.l -[A7], [A3 + 0x48]
00005124 4EAD E818 jsr [A5 - 0x17E8]
00005128 5C4F addq.w A7, 6
0000512A 3F10 move.w -[A7], [A0]
0000512C 4EAD E1A8 jsr [A5 - 0x1E58]
00005130 2C48 movea.l A6, A0
00005132 200E move.l D0, A6
00005134 4FEF 0012 lea.l A7, [A7 + 0x12]
00005138 6734 beq +0x36 /* 0000516E */
0000513A 1F3C 0001 move.b -[A7], 0x1
0000513E 2F2B 0048 move.l -[A7], [A3 + 0x48]
00005142 4EAD E818 jsr [A5 - 0x17E8]
00005146 2848 movea.l A4, A0
00005148 2F0E move.l -[A7], A6
0000514A 4EAD D9AC jsr [A5 - 0x2654]
0000514E 201F move.l D0, [A7]+
00005150 2800 move.l D4, D0
00005152 2656 movea.l A3, [A6]
00005154 7600 moveq.l D3, 0x00
00005156 544F addq.w A7, 2
00005158 6010 bra +0x12 /* 0000516A */
label0000515A:
0000515A 2014 move.l D0, [A4]
0000515C B09B cmp.l D0, [A3]+
0000515E 6608 bne +0xA /* 00005168 */
00005160 2483 move.l [A2], D3
00005162 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
00005166 4E75 rts
label00005168:
00005168 5283 addq.l D3, 1
label0000516A:
0000516A B684 cmp.l D3, D4
0000516C 6DEC blt -0x12 /* 0000515A */
label0000516E:
0000516E 70FF moveq.l D0, 0xFFFFFFFF
00005170 2480 move.l [A2], D0
00005172 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
00005176 4E75 rts
fn00005178:
00005178 48E7 1C30 movem.l -[A7], D3,D4,D5,A2,A3
0000517C 246F 0018 movea.l A2, [A7 + 0x18]
00005180 266F 001C movea.l A3, [A7 + 0x1C]
00005184 4AAA 0014 tst.l [A2 + 0x14]
00005188 6C16 bge +0x18 /* 000051A0 */
0000518A 262A 001C move.l D3, [A2 + 0x1C]
0000518E 282B 001C move.l D4, [A3 + 0x1C]
00005192 4AAB 0008 tst.l [A3 + 0x8]
00005196 661E bne +0x20 /* 000051B6 */
00005198 7001 moveq.l D0, 0x01
0000519A 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
0000519E 4E75 rts
label000051A0:
000051A0 262B 001C move.l D3, [A3 + 0x1C]
000051A4 282A 001C move.l D4, [A2 + 0x1C]
000051A8 4AAA 0008 tst.l [A2 + 0x8]
000051AC 6608 bne +0xA /* 000051B6 */
000051AE 70FF moveq.l D0, 0xFFFFFFFF
000051B0 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
000051B4 4E75 rts
label000051B6:
000051B6 4EAD E450 jsr [A5 - 0x1BB0]
000051BA 4A80 tst.l D0
000051BC 673C beq +0x3E /* 000051FA */
000051BE 206A 0008 movea.l A0, [A2 + 0x8]
000051C2 A029 syscall HLock
000051C4 206B 0008 movea.l A0, [A3 + 0x8]
000051C8 A029 syscall HLock
000051CA B684 cmp.l D3, D4
000051CC 6E04 bgt +0x6 /* 000051D2 */
000051CE 2003 move.l D0, D3
000051D0 6002 bra +0x4 /* 000051D4 */
label000051D2:
000051D2 2004 move.l D0, D4
label000051D4:
000051D4 2F00 move.l -[A7], D0
000051D6 206B 0008 movea.l A0, [A3 + 0x8]
000051DA 2F10 move.l -[A7], [A0]
000051DC 206A 0008 movea.l A0, [A2 + 0x8]
000051E0 2F10 move.l -[A7], [A0]
000051E2 4EAD E460 jsr [A5 - 0x1BA0]
000051E6 2A00 move.l D5, D0
000051E8 206B 0008 movea.l A0, [A3 + 0x8]
000051EC A02A syscall HUnlock
000051EE 206A 0008 movea.l A0, [A2 + 0x8]
000051F2 A02A syscall HUnlock
000051F4 4FEF 000C lea.l A7, [A7 + 0xC]
000051F8 6022 bra +0x24 /* 0000521C */
label000051FA:
000051FA B684 cmp.l D3, D4
000051FC 6E04 bgt +0x6 /* 00005202 */
000051FE 2003 move.l D0, D3
00005200 6002 bra +0x4 /* 00005204 */
label00005202:
00005202 2004 move.l D0, D4
label00005204:
00005204 2F00 move.l -[A7], D0
00005206 206B 0008 movea.l A0, [A3 + 0x8]
0000520A 2F10 move.l -[A7], [A0]
0000520C 206A 0008 movea.l A0, [A2 + 0x8]
00005210 2F10 move.l -[A7], [A0]
00005212 4EAD E460 jsr [A5 - 0x1BA0]
00005216 2A00 move.l D5, D0
00005218 4FEF 000C lea.l A7, [A7 + 0xC]
label0000521C:
0000521C 4A85 tst.l D5
0000521E 6610 bne +0x12 /* 00005230 */
00005220 B684 cmp.l D3, D4
00005222 6E04 bgt +0x6 /* 00005228 */
00005224 2005 move.l D0, D5
00005226 6002 bra +0x4 /* 0000522A */
label00005228:
00005228 7001 moveq.l D0, 0x01
label0000522A:
0000522A 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
0000522E 4E75 rts
label00005230:
00005230 2005 move.l D0, D5
00005232 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
00005236 4E75 rts
fn00005238:
00005238 48E7 1C3A movem.l -[A7], D3,D4,D5,A2,A3,A4,A6
0000523C 4FEF FFE8 lea.l A7, [A7 - 0x18]
00005240 2C6F 0038 movea.l A6, [A7 + 0x38]
00005244 246F 003C movea.l A2, [A7 + 0x3C]
00005248 1A2F 0040 move.b D5, [A7 + 0x40]
0000524C 206E 0048 movea.l A0, [A6 + 0x48]
00005250 7600 moveq.l D3, 0x00
00005252 1628 006F move.b D3, [A0 + 0x6F]
00005256 594F subq.w A7, 4
00005258 A8D8 syscall NewRgn
0000525A 205F movea.l A0, [A7]+
0000525C 2848 movea.l A4, A0
0000525E 200C move.l D0, A4
00005260 6700 01EE beq +0x1F0 /* 00005450 */
00005264 594F subq.w A7, 4
00005266 A8D8 syscall NewRgn
00005268 205F movea.l A0, [A7]+
0000526A 2648 movea.l A3, A0
0000526C 200B move.l D0, A3
0000526E 660E bne +0x10 /* 0000527E */
00005270 2F0C move.l -[A7], A4
00005272 A8D9 syscall DisposRgn/DisposeRgn
00005274 4FEF 0018 lea.l A7, [A7 + 0x18]
00005278 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
0000527C 4E75 rts
label0000527E:
0000527E 42A7 clr.l -[A7]
00005280 4EAD DD50 jsr [A5 - 0x22B0]
00005284 486A 0018 pea.l [A2 + 0x18]
00005288 2F0E move.l -[A7], A6
0000528A 4EBA 13EE jsr [PC + 0x13EE /* 0000667A */]
0000528E 2F0C move.l -[A7], A4
00005290 A87A syscall GetClip
00005292 0C05 0001 cmpi.b D5, 0x1
00005296 4FEF 000C lea.l A7, [A7 + 0xC]
0000529A 6700 00B6 beq +0xB8 /* 00005352 */
0000529E 4AAA 0070 tst.l [A2 + 0x70]
000052A2 6700 00AE beq +0xB0 /* 00005352 */
000052A6 2F6A 0048 0010 move.l [A7 + 0x10], [A2 + 0x48]
000052AC 2F6A 004C 0014 move.l [A7 + 0x14], [A2 + 0x4C]
000052B2 4A2A 0069 tst.b [A2 + 0x69]
000052B6 6744 beq +0x46 /* 000052FC */
000052B8 486F 0010 pea.l [A7 + 0x10]
000052BC 2F0A move.l -[A7], A2
000052BE 4EBA 1186 jsr [PC + 0x1186 /* 00006446 */]
000052C2 4480 neg.l D0
000052C4 322A 0012 move.w D1, [A2 + 0x12]
000052C8 48C1 ext.l D1
000052CA D280 add.l D1, D0
000052CC 584F addq.w A7, 4
000052CE 3F01 move.w -[A7], D1
000052D0 2F0A move.l -[A7], A2
000052D2 4EBA 1190 jsr [PC + 0x1190 /* 00006464 */]
000052D6 4480 neg.l D0
000052D8 322A 0010 move.w D1, [A2 + 0x10]
000052DC 48C1 ext.l D1
000052DE D280 add.l D1, D0
000052E0 584F addq.w A7, 4
000052E2 3F01 move.w -[A7], D1
000052E4 A8A8 syscall OffsetRect
000052E6 7801 moveq.l D4, 0x01
000052E8 4227 clr.b -[A7]
000052EA 486F 000A pea.l [A7 + 0xA]
000052EE 2F0A move.l -[A7], A2
000052F0 2F0E move.l -[A7], A6
000052F2 4EBA F8DC jsr [PC - 0x724 /* 00004BD0 */]
000052F6 4FEF 000E lea.l A7, [A7 + 0xE]
000052FA 6024 bra +0x26 /* 00005320 */
label000052FC:
000052FC 486F 0010 pea.l [A7 + 0x10]
00005300 3F2A 0012 move.w -[A7], [A2 + 0x12]
00005304 3F2A 0010 move.w -[A7], [A2 + 0x10]
00005308 A8A8 syscall OffsetRect
0000530A 7802 moveq.l D4, 0x02
0000530C 1F3C 0001 move.b -[A7], 0x1
00005310 486F 000A pea.l [A7 + 0xA]
00005314 2F0A move.l -[A7], A2
00005316 2F0E move.l -[A7], A6
00005318 4EBA F8B6 jsr [PC - 0x74A /* 00004BD0 */]
0000531C 4FEF 000E lea.l A7, [A7 + 0xE]
label00005320:
00005320 2F0B move.l -[A7], A3
00005322 486F 000C pea.l [A7 + 0xC]
00005326 A8DF syscall RectRgn
00005328 2F0B move.l -[A7], A3
0000532A 2F0C move.l -[A7], A4
0000532C 2F0B move.l -[A7], A3
0000532E A8E4 syscall SectRgn
00005330 2F0B move.l -[A7], A3
00005332 A879 syscall SetClip
00005334 4A83 tst.l D3
00005336 670E beq +0x10 /* 00005346 */
00005338 42A7 clr.l -[A7]
0000533A 486F 0014 pea.l [A7 + 0x14]
0000533E 4EBA 1CEE jsr [PC + 0x1CEE /* 0000702E */]
00005342 504F addq.w A7, 8
00005344 600C bra +0xE /* 00005352 */
label00005346:
00005346 42A7 clr.l -[A7]
00005348 486F 0014 pea.l [A7 + 0x14]
0000534C 4EBA 049C jsr [PC + 0x49C /* 000057EA */]
00005350 504F addq.w A7, 8
label00005352:
00005352 4A05 tst.b D5
00005354 6700 00DC beq +0xDE /* 00005432 */
00005358 554F subq.w A7, 2
0000535A 2F2A 0076 move.l -[A7], [A2 + 0x76]
0000535E A8E2 syscall EmptyRgn
00005360 101F move.b D0, [A7]+
00005362 6600 00CE bne +0xD0 /* 00005432 */
00005366 4AAA 008E tst.l [A2 + 0x8E]
0000536A 6764 beq +0x66 /* 000053D0 */
0000536C 2F2A 0076 move.l -[A7], [A2 + 0x76]
00005370 3F2A 0012 move.w -[A7], [A2 + 0x12]
00005374 3F2A 0010 move.w -[A7], [A2 + 0x10]
00005378 A8E0 syscall OffsetRgn/OfsetRgn
0000537A 1F3C 0001 move.b -[A7], 0x1
0000537E 486F 0002 pea.l [A7 + 0x2]
00005382 2F0A move.l -[A7], A2
00005384 2F0E move.l -[A7], A6
00005386 4EBA F848 jsr [PC - 0x7B8 /* 00004BD0 */]
0000538A 486F 000E pea.l [A7 + 0xE]
0000538E 4EAD DD50 jsr [A5 - 0x22B0]
00005392 2F03 move.l -[A7], D3
00005394 2F0A move.l -[A7], A2
00005396 4EBA 00C2 jsr [PC + 0xC2 /* 0000545A */]
0000539A 4EAD DD58 jsr [A5 - 0x22A8]
0000539E 2F2A 0076 move.l -[A7], [A2 + 0x76]
000053A2 302A 0012 move.w D0, [A2 + 0x12]
000053A6 48C0 ext.l D0
000053A8 4480 neg.l D0
000053AA 3F00 move.w -[A7], D0
000053AC 302A 0010 move.w D0, [A2 + 0x10]
000053B0 48C0 ext.l D0
000053B2 4480 neg.l D0
000053B4 3F00 move.w -[A7], D0
000053B6 A8E0 syscall OffsetRgn/OfsetRgn
000053B8 2F0B move.l -[A7], A3
000053BA 486F 001E pea.l [A7 + 0x1E]
000053BE A8DF syscall RectRgn
000053C0 2F0C move.l -[A7], A4
000053C2 2F0B move.l -[A7], A3
000053C4 2F0B move.l -[A7], A3
000053C6 A8E6 syscall DiffRgn
000053C8 2F0B move.l -[A7], A3
000053CA A879 syscall SetClip
000053CC 4FEF 001A lea.l A7, [A7 + 0x1A]
label000053D0:
000053D0 2F2A 0076 move.l -[A7], [A2 + 0x76]
000053D4 2F0A move.l -[A7], A2
000053D6 4EBA 106E jsr [PC + 0x106E /* 00006446 */]
000053DA 4480 neg.l D0
000053DC 322A 0012 move.w D1, [A2 + 0x12]
000053E0 48C1 ext.l D1
000053E2 D280 add.l D1, D0
000053E4 584F addq.w A7, 4
000053E6 3F01 move.w -[A7], D1
000053E8 2F0A move.l -[A7], A2
000053EA 4EBA 1078 jsr [PC + 0x1078 /* 00006464 */]
000053EE 4480 neg.l D0
000053F0 322A 0010 move.w D1, [A2 + 0x10]
000053F4 48C1 ext.l D1
000053F6 D280 add.l D1, D0
000053F8 584F addq.w A7, 4
000053FA 3F01 move.w -[A7], D1
000053FC A8E0 syscall OffsetRgn/OfsetRgn
000053FE 2F03 move.l -[A7], D3
00005400 2F0A move.l -[A7], A2
00005402 4EBA 0056 jsr [PC + 0x56 /* 0000545A */]
00005406 2F2A 0076 move.l -[A7], [A2 + 0x76]
0000540A 2F0A move.l -[A7], A2
0000540C 4EBA 1038 jsr [PC + 0x1038 /* 00006446 */]
00005410 322A 0012 move.w D1, [A2 + 0x12]
00005414 48C1 ext.l D1
00005416 9081 sub.l D0, D1
00005418 584F addq.w A7, 4
0000541A 3F00 move.w -[A7], D0
0000541C 2F0A move.l -[A7], A2
0000541E 4EBA 1044 jsr [PC + 0x1044 /* 00006464 */]
00005422 322A 0010 move.w D1, [A2 + 0x10]
00005426 48C1 ext.l D1
00005428 9081 sub.l D0, D1
0000542A 584F addq.w A7, 4
0000542C 3F00 move.w -[A7], D0
0000542E A8E0 syscall OffsetRgn/OfsetRgn
00005430 504F addq.w A7, 8
label00005432:
00005432 4AAA 009E tst.l [A2 + 0x9E]
00005436 670C beq +0xE /* 00005444 */
00005438 2F0E move.l -[A7], A6
0000543A 2F2A 009E move.l -[A7], [A2 + 0x9E]
0000543E 4EAD E590 jsr [A5 - 0x1A70]
00005442 504F addq.w A7, 8
label00005444:
00005444 4EAD DD58 jsr [A5 - 0x22A8]
00005448 2F0C move.l -[A7], A4
0000544A A8D9 syscall DisposRgn/DisposeRgn
0000544C 2F0B move.l -[A7], A3
0000544E A8D9 syscall DisposRgn/DisposeRgn
label00005450:
00005450 4FEF 0018 lea.l A7, [A7 + 0x18]
00005454 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
00005458 4E75 rts
fn0000545A:
0000545A 4AAF 0008 tst.l [A7 + 0x8]
0000545E 6712 beq +0x14 /* 00005472 */
00005460 206F 0004 movea.l A0, [A7 + 0x4]
00005464 2F28 0076 move.l -[A7], [A0 + 0x76]
00005468 42A7 clr.l -[A7]
0000546A 4EBA 1BC2 jsr [PC + 0x1BC2 /* 0000702E */]
0000546E 504F addq.w A7, 8
00005470 6010 bra +0x12 /* 00005482 */
label00005472:
00005472 206F 0004 movea.l A0, [A7 + 0x4]
00005476 2F28 0076 move.l -[A7], [A0 + 0x76]
0000547A 42A7 clr.l -[A7]
0000547C 4EBA 036C jsr [PC + 0x36C /* 000057EA */]
00005480 504F addq.w A7, 8
label00005482:
00005482 4E75 rts
fn00005484:
00005484 48E7 1030 movem.l -[A7], D3,A2,A3
00005488 514F subq.w A7, 8
0000548A 246F 001C movea.l A2, [A7 + 0x1C]
0000548E 162F 0020 move.b D3, [A7 + 0x20]
00005492 4A03 tst.b D3
00005494 660C bne +0xE /* 000054A2 */
00005496 2EAA 0048 move.l [A7], [A2 + 0x48]
0000549A 2F6A 004C 0004 move.l [A7 + 0x4], [A2 + 0x4C]
000054A0 6010 bra +0x12 /* 000054B2 */
label000054A2:
000054A2 266A 0076 movea.l A3, [A2 + 0x76]
000054A6 2653 movea.l A3, [A3]
000054A8 548B addq.l A3, 2
000054AA 2E93 move.l [A7], [A3]
000054AC 2F6B 0004 0004 move.l [A7 + 0x4], [A3 + 0x4]
label000054B2:
000054B2 554F subq.w A7, 2
000054B4 486F 0002 pea.l [A7 + 0x2]
000054B8 A8AE syscall EmptyRect
000054BA 101F move.b D0, [A7]+
000054BC 6670 bne +0x72 /* 0000552E */
000054BE 4A03 tst.b D3
000054C0 6606 bne +0x8 /* 000054C8 */
000054C2 4A2A 0069 tst.b [A2 + 0x69]
000054C6 672E beq +0x30 /* 000054F6 */
label000054C8:
000054C8 4857 pea.l [A7]
000054CA 2F0A move.l -[A7], A2
000054CC 4EBA 0F78 jsr [PC + 0xF78 /* 00006446 */]
000054D0 4480 neg.l D0
000054D2 322A 0012 move.w D1, [A2 + 0x12]
000054D6 48C1 ext.l D1
000054D8 D280 add.l D1, D0
000054DA 584F addq.w A7, 4
000054DC 3F01 move.w -[A7], D1
000054DE 2F0A move.l -[A7], A2
000054E0 4EBA 0F82 jsr [PC + 0xF82 /* 00006464 */]
000054E4 4480 neg.l D0
000054E6 322A 0010 move.w D1, [A2 + 0x10]
000054EA 48C1 ext.l D1
000054EC D280 add.l D1, D0
000054EE 584F addq.w A7, 4
000054F0 3F01 move.w -[A7], D1
000054F2 A8A8 syscall OffsetRect
000054F4 600A bra +0xC /* 00005500 */
label000054F6:
000054F6 4857 pea.l [A7]
000054F8 4267 clr.w -[A7]
000054FA 3F2A 0010 move.w -[A7], [A2 + 0x10]
000054FE A8A8 syscall OffsetRect
label00005500:
00005500 4AAF 0022 tst.l [A7 + 0x22]
00005504 670C beq +0xE /* 00005512 */
00005506 0C03 0001 cmpi.b D3, 0x1
0000550A 6606 bne +0x8 /* 00005512 */
0000550C 2F2A 0076 move.l -[A7], [A2 + 0x76]
00005510 A8DD syscall SetEmptyRgn
label00005512:
00005512 2F2F 002A move.l -[A7], [A7 + 0x2A]
00005516 2F2F 002A move.l -[A7], [A7 + 0x2A]
0000551A 42A7 clr.l -[A7]
0000551C 486F 000C pea.l [A7 + 0xC]
00005520 2F0A move.l -[A7], A2
00005522 2F2F 002C move.l -[A7], [A7 + 0x2C]
00005526 4EBA 000E jsr [PC + 0xE /* 00005536 */]
0000552A 4FEF 0018 lea.l A7, [A7 + 0x18]
label0000552E:
0000552E 504F addq.w A7, 8
00005530 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00005534 4E75 rts
fn00005536:
00005536 48E7 1C38 movem.l -[A7], D3,D4,D5,A2,A3,A4
0000553A 514F subq.w A7, 8
0000553C 286F 0024 movea.l A4, [A7 + 0x24]
00005540 266F 0028 movea.l A3, [A7 + 0x28]
00005544 246F 002C movea.l A2, [A7 + 0x2C]
00005548 2A2F 0030 move.l D5, [A7 + 0x30]
0000554C 282F 0034 move.l D4, [A7 + 0x34]
00005550 4AAB 0096 tst.l [A3 + 0x96]
00005554 6706 beq +0x8 /* 0000555C */
00005556 4AAB 009A tst.l [A3 + 0x9A]
0000555A 6608 bne +0xA /* 00005564 */
label0000555C:
0000555C 504F addq.w A7, 8
0000555E 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
00005562 4E75 rts
label00005564:
00005564 4227 clr.b -[A7]
00005566 486F 0002 pea.l [A7 + 0x2]
0000556A 2F0B move.l -[A7], A3
0000556C 2F0C move.l -[A7], A4
0000556E 4EBA F660 jsr [PC - 0x9A0 /* 00004BD0 */]
00005572 4A84 tst.l D4
00005574 4FEF 000E lea.l A7, [A7 + 0xE]
00005578 662A bne +0x2C /* 000055A4 */
0000557A 200A move.l D0, A2
0000557C 6726 beq +0x28 /* 000055A4 */
0000557E 3012 move.w D0, [A2]
00005580 B057 cmp.w D0, [A7]
00005582 6D20 blt +0x22 /* 000055A4 */
00005584 302A 0004 move.w D0, [A2 + 0x4]
00005588 B06F 0004 cmp.w D0, [A7 + 0x4]
0000558C 6E16 bgt +0x18 /* 000055A4 */
0000558E 302A 0002 move.w D0, [A2 + 0x2]
00005592 B06F 0002 cmp.w D0, [A7 + 0x2]
00005596 6D0C blt +0xE /* 000055A4 */
00005598 302A 0006 move.w D0, [A2 + 0x6]
0000559C B06F 0006 cmp.w D0, [A7 + 0x6]
000055A0 6F00 00D2 ble +0xD4 /* 00005674 */
label000055A4:
000055A4 200A move.l D0, A2
000055A6 674E beq +0x50 /* 000055F6 */
000055A8 302A 0002 move.w D0, [A2 + 0x2]
000055AC B06F 0002 cmp.w D0, [A7 + 0x2]
000055B0 6D0A blt +0xC /* 000055BC */
000055B2 302A 0006 move.w D0, [A2 + 0x6]
000055B6 B06F 0006 cmp.w D0, [A7 + 0x6]
000055BA 6F12 ble +0x14 /* 000055CE */
label000055BC:
000055BC 302F 0002 move.w D0, [A7 + 0x2]
000055C0 48C0 ext.l D0
000055C2 362A 0002 move.w D3, [A2 + 0x2]
000055C6 48C3 ext.l D3
000055C8 9680 sub.l D3, D0
000055CA 9685 sub.l D3, D5
000055CC 6002 bra +0x4 /* 000055D0 */
label000055CE:
000055CE 7600 moveq.l D3, 0x00
label000055D0:
000055D0 4A84 tst.l D4
000055D2 6610 bne +0x12 /* 000055E4 */
000055D4 3012 move.w D0, [A2]
000055D6 B057 cmp.w D0, [A7]
000055D8 6D0A blt +0xC /* 000055E4 */
000055DA 302A 0004 move.w D0, [A2 + 0x4]
000055DE B06F 0004 cmp.w D0, [A7 + 0x4]
000055E2 6F0E ble +0x10 /* 000055F2 */
label000055E4:
000055E4 3017 move.w D0, [A7]
000055E6 48C0 ext.l D0
000055E8 3812 move.w D4, [A2]
000055EA 48C4 ext.l D4
000055EC 9880 sub.l D4, D0
000055EE 9885 sub.l D4, D5
000055F0 601A bra +0x1C /* 0000560C */
label000055F2:
000055F2 7800 moveq.l D4, 0x00
000055F4 6016 bra +0x18 /* 0000560C */
label000055F6:
000055F6 2F0B move.l -[A7], A3
000055F8 4EBA 0E4C jsr [PC + 0xE4C /* 00006446 */]
000055FC 4480 neg.l D0
000055FE 2600 move.l D3, D0
00005600 2F0B move.l -[A7], A3
00005602 4EBA 0E60 jsr [PC + 0xE60 /* 00006464 */]
00005606 4480 neg.l D0
00005608 2800 move.l D4, D0
0000560A 504F addq.w A7, 8
label0000560C:
0000560C 2F03 move.l -[A7], D3
0000560E 2F2B 0096 move.l -[A7], [A3 + 0x96]
00005612 4EBA 0068 jsr [PC + 0x68 /* 0000567C */]
00005616 2600 move.l D3, D0
00005618 2F04 move.l -[A7], D4
0000561A 2F2B 009A move.l -[A7], [A3 + 0x9A]
0000561E 4EBA 005C jsr [PC + 0x5C /* 0000567C */]
00005622 2800 move.l D4, D0
00005624 4A83 tst.l D3
00005626 4FEF 0010 lea.l A7, [A7 + 0x10]
0000562A 6604 bne +0x6 /* 00005630 */
0000562C 4A84 tst.l D4
0000562E 6744 beq +0x46 /* 00005674 */
label00005630:
00005630 2F0B move.l -[A7], A3
00005632 4EBA 0E12 jsr [PC + 0xE12 /* 00006446 */]
00005636 D083 add.l D0, D3
00005638 584F addq.w A7, 4
0000563A 2F00 move.l -[A7], D0
0000563C 2F2B 0096 move.l -[A7], [A3 + 0x96]
00005640 4EBA C5EC jsr [PC - 0x3A14 /* 00001C2E */]
00005644 2F0B move.l -[A7], A3
00005646 4EBA 0E1C jsr [PC + 0xE1C /* 00006464 */]
0000564A D084 add.l D0, D4
0000564C 584F addq.w A7, 4
0000564E 2F00 move.l -[A7], D0
00005650 2F2B 009A move.l -[A7], [A3 + 0x9A]
00005654 4EBA C5D8 jsr [PC - 0x3A28 /* 00001C2E */]
00005658 2F2F 0048 move.l -[A7], [A7 + 0x48]
0000565C 2004 move.l D0, D4
0000565E 4480 neg.l D0
00005660 2F00 move.l -[A7], D0
00005662 2003 move.l D0, D3
00005664 4480 neg.l D0
00005666 2F00 move.l -[A7], D0
00005668 2F0B move.l -[A7], A3
0000566A 2F0C move.l -[A7], A4
0000566C 4EBA 0058 jsr [PC + 0x58 /* 000056C6 */]
00005670 4FEF 0024 lea.l A7, [A7 + 0x24]
label00005674:
00005674 504F addq.w A7, 8
00005676 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
0000567A 4E75 rts
fn0000567C:
0000567C 48E7 1E20 movem.l -[A7], D3,D4,D5,D6,A2
00005680 246F 0018 movea.l A2, [A7 + 0x18]
00005684 282F 001C move.l D4, [A7 + 0x1C]
00005688 2F0A move.l -[A7], A2
0000568A 4EBA C55A jsr [PC - 0x3AA6 /* 00001BE6 */]
0000568E 2A00 move.l D5, D0
00005690 2F0A move.l -[A7], A2
00005692 A961 syscall GetControlMinimum/GetMinCtl
00005694 301F move.w D0, [A7]+
00005696 48C0 ext.l D0
00005698 2C00 move.l D6, D0
0000569A 2F0A move.l -[A7], A2
0000569C 4EBA C56C jsr [PC - 0x3A94 /* 00001C0A */]
000056A0 2600 move.l D3, D0
000056A2 2004 move.l D0, D4
000056A4 D083 add.l D0, D3
000056A6 B085 cmp.l D0, D5
000056A8 5C4F addq.w A7, 6
000056AA 6F06 ble +0x8 /* 000056B2 */
000056AC 2805 move.l D4, D5
000056AE 9883 sub.l D4, D3
000056B0 600C bra +0xE /* 000056BE */
label000056B2:
000056B2 2004 move.l D0, D4
000056B4 D083 add.l D0, D3
000056B6 B086 cmp.l D0, D6
000056B8 6C04 bge +0x6 /* 000056BE */
000056BA 2806 move.l D4, D6
000056BC 9883 sub.l D4, D3
label000056BE:
000056BE 2004 move.l D0, D4
000056C0 4CDF 0478 movem.l D3,D4,D5,D6,A2, [A7]+
000056C4 4E75 rts
fn000056C6:
000056C6 48E7 183A movem.l -[A7], D3,D4,A2,A3,A4,A6
000056CA 514F subq.w A7, 8
000056CC 266F 0024 movea.l A3, [A7 + 0x24]
000056D0 246F 0028 movea.l A2, [A7 + 0x28]
000056D4 282F 002C move.l D4, [A7 + 0x2C]
000056D8 262F 0030 move.l D3, [A7 + 0x30]
000056DC 4AAA 0092 tst.l [A2 + 0x92]
000056E0 6700 0100 beq +0x102 /* 000057E2 */
000056E4 594F subq.w A7, 4
000056E6 A8D8 syscall NewRgn
000056E8 205F movea.l A0, [A7]+
000056EA 2848 movea.l A4, A0
000056EC 2008 move.l D0, A0
000056EE 6700 00F2 beq +0xF4 /* 000057E2 */
000056F2 594F subq.w A7, 4
000056F4 A8D8 syscall NewRgn
000056F6 205F movea.l A0, [A7]+
000056F8 2C48 movea.l A6, A0
000056FA 200E move.l D0, A6
000056FC 660C bne +0xE /* 0000570A */
000056FE 2F0C move.l -[A7], A4
00005700 A8D9 syscall DisposRgn/DisposeRgn
00005702 504F addq.w A7, 8
00005704 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
00005708 4E75 rts
label0000570A:
0000570A 2EAA 0018 move.l [A7], [A2 + 0x18]
0000570E 2F6A 001C 0004 move.l [A7 + 0x4], [A2 + 0x1C]
00005714 4AAA 008E tst.l [A2 + 0x8E]
00005718 670C beq +0xE /* 00005726 */
0000571A 206A 008E movea.l A0, [A2 + 0x8E]
0000571E 2050 movea.l A0, [A0]
00005720 3028 0006 move.w D0, [A0 + 0x6]
00005724 D157 add.w [A7], D0
label00005726:
00005726 4EAD DD70 jsr [A5 - 0x2290]
0000572A 1F3C 0001 move.b -[A7], 0x1
0000572E 2F0A move.l -[A7], A2
00005730 2F0B move.l -[A7], A3
00005732 4EBA 12AE jsr [PC + 0x12AE /* 000069E2 */]
00005736 2F04 move.l -[A7], D4
00005738 4EAD D92E jsr [A5 - 0x26D2]
0000573C 0C80 0000 7FFF cmpi.l D0, 0x7FFF
00005742 4FEF 000E lea.l A7, [A7 + 0xE]
00005746 6E10 bgt +0x12 /* 00005758 */
00005748 2F03 move.l -[A7], D3
0000574A 4EAD D92E jsr [A5 - 0x26D2]
0000574E 0C80 0000 7FFF cmpi.l D0, 0x7FFF
00005754 584F addq.w A7, 4
00005756 6F0E ble +0x10 /* 00005766 */
label00005758:
00005758 4857 pea.l [A7]
0000575A A8A3 syscall EraseRect
0000575C 2F0C move.l -[A7], A4
0000575E 486F 0004 pea.l [A7 + 0x4]
00005762 A8DF syscall RectRgn
00005764 600A bra +0xC /* 00005770 */
label00005766:
00005766 4857 pea.l [A7]
00005768 3F04 move.w -[A7], D4
0000576A 3F03 move.w -[A7], D3
0000576C 2F0C move.l -[A7], A4
0000576E A8EF syscall ScrollRect
label00005770:
00005770 4EAD DD78 jsr [A5 - 0x2288]
00005774 3F03 move.w -[A7], D3
00005776 3F04 move.w -[A7], D4
00005778 2F2B 0048 move.l -[A7], [A3 + 0x48]
0000577C 4EAD DCF0 jsr [A5 - 0x2310]
00005780 2F0A move.l -[A7], A2
00005782 2F0B move.l -[A7], A3
00005784 4EBA 1ACA jsr [PC + 0x1ACA /* 00007250 */]
00005788 2F0C move.l -[A7], A4
0000578A A927 syscall InvalRgn
0000578C 4AAF 0044 tst.l [A7 + 0x44]
00005790 4FEF 0010 lea.l A7, [A7 + 0x10]
00005794 6744 beq +0x46 /* 000057DA */
00005796 2F2B 0048 move.l -[A7], [A3 + 0x48]
0000579A A922 syscall BeginUpdate
0000579C 206B 0048 movea.l A0, [A3 + 0x48]
000057A0 2F28 0018 move.l -[A7], [A0 + 0x18]
000057A4 2F0E move.l -[A7], A6
000057A6 A8DC syscall CopyRgn
000057A8 2F0A move.l -[A7], A2
000057AA 2F0B move.l -[A7], A3
000057AC 4EBA F5EA jsr [PC - 0xA16 /* 00004D98 */]
000057B0 1F3C 0002 move.b -[A7], 0x2
000057B4 2F0A move.l -[A7], A2
000057B6 2F0B move.l -[A7], A3
000057B8 4EBA FA7E jsr [PC - 0x582 /* 00005238 */]
000057BC 2F0A move.l -[A7], A2
000057BE 2F0B move.l -[A7], A3
000057C0 4EBA 0F2C jsr [PC + 0xF2C /* 000066EE */]
000057C4 2F2B 0048 move.l -[A7], [A3 + 0x48]
000057C8 A923 syscall EndUpdate
000057CA 2F0E move.l -[A7], A6
000057CC 2F0C move.l -[A7], A4
000057CE 2F0E move.l -[A7], A6
000057D0 A8E6 syscall DiffRgn
000057D2 2F0E move.l -[A7], A6
000057D4 A927 syscall InvalRgn
000057D6 4FEF 001A lea.l A7, [A7 + 0x1A]
label000057DA:
000057DA 2F0E move.l -[A7], A6
000057DC A8D9 syscall DisposRgn/DisposeRgn
000057DE 2F0C move.l -[A7], A4
000057E0 A8D9 syscall DisposRgn/DisposeRgn
label000057E2:
000057E2 504F addq.w A7, 8
000057E4 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
000057E8 4E75 rts
fn000057EA:
000057EA 48E7 0038 movem.l -[A7], A2,A3,A4
000057EE 514F subq.w A7, 8
000057F0 286F 001C movea.l A4, [A7 + 0x1C]
000057F4 594F subq.w A7, 4
000057F6 A8D8 syscall NewRgn
000057F8 205F movea.l A0, [A7]+
000057FA 2448 movea.l A2, A0
000057FC 2008 move.l D0, A0
000057FE 6774 beq +0x76 /* 00005874 */
00005800 594F subq.w A7, 4
00005802 A8D8 syscall NewRgn
00005804 205F movea.l A0, [A7]+
00005806 2648 movea.l A3, A0
00005808 2008 move.l D0, A0
0000580A 660C bne +0xE /* 00005818 */
0000580C 2F0A move.l -[A7], A2
0000580E A8D9 syscall DisposRgn/DisposeRgn
00005810 504F addq.w A7, 8
00005812 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00005816 4E75 rts
label00005818:
00005818 200C move.l D0, A4
0000581A 6710 beq +0x12 /* 0000582C */
0000581C 2F0C move.l -[A7], A4
0000581E 2F0A move.l -[A7], A2
00005820 A8DC syscall CopyRgn
00005822 2F0A move.l -[A7], A2
00005824 4878 FFFF push.l 0xFFFF
00005828 A8E1 syscall InsetRgn
0000582A 601E bra +0x20 /* 0000584A */
label0000582C:
0000582C 206F 0018 movea.l A0, [A7 + 0x18]
00005830 2E90 move.l [A7], [A0]
00005832 2F68 0004 0004 move.l [A7 + 0x4], [A0 + 0x4]
00005838 4857 pea.l [A7]
0000583A 2F3C 0001 0001 move.l -[A7], 0x10001
00005840 A8A9 syscall InsetRect
00005842 2F0A move.l -[A7], A2
00005844 486F 0004 pea.l [A7 + 0x4]
00005848 A8DF syscall RectRgn
label0000584A:
0000584A 2F0A move.l -[A7], A2
0000584C 2F0B move.l -[A7], A3
0000584E A8DC syscall CopyRgn
00005850 2F0B move.l -[A7], A3
00005852 2F3C 0001 0001 move.l -[A7], 0x10001
00005858 A8E1 syscall InsetRgn
0000585A 2F0A move.l -[A7], A2
0000585C 2F0B move.l -[A7], A3
0000585E 2F0B move.l -[A7], A3
00005860 A8E6 syscall DiffRgn
00005862 2F0B move.l -[A7], A3
00005864 42A7 clr.l -[A7]
00005866 4EBA 17C6 jsr [PC + 0x17C6 /* 0000702E */]
0000586A 2F0A move.l -[A7], A2
0000586C A8D9 syscall DisposRgn/DisposeRgn
0000586E 2F0B move.l -[A7], A3
00005870 A8D9 syscall DisposRgn/DisposeRgn
00005872 504F addq.w A7, 8
label00005874:
00005874 504F addq.w A7, 8
00005876 4CDF 1C00 movem.l A2,A3,A4, [A7]+
0000587A 4E75 rts
fn0000587C:
0000587C 48E7 003A movem.l -[A7], A2,A3,A4,A6
00005880 4FEF FFF0 lea.l A7, [A7 - 0x10]
00005884 246F 0028 movea.l A2, [A7 + 0x28]
00005888 266F 002C movea.l A3, [A7 + 0x2C]
0000588C 2C6F 0030 movea.l A6, [A7 + 0x30]
00005890 4AAF 0034 tst.l [A7 + 0x34]
00005894 6746 beq +0x48 /* 000058DC */
00005896 2F0B move.l -[A7], A3
00005898 2F0A move.l -[A7], A2
0000589A 4EBA 0BAA jsr [PC + 0xBAA /* 00006446 */]
0000589E 4480 neg.l D0
000058A0 322A 0012 move.w D1, [A2 + 0x12]
000058A4 48C1 ext.l D1
000058A6 D280 add.l D1, D0
000058A8 584F addq.w A7, 4
000058AA 3F01 move.w -[A7], D1
000058AC 2F0A move.l -[A7], A2
000058AE 4EBA 0BB4 jsr [PC + 0xBB4 /* 00006464 */]
000058B2 4480 neg.l D0
000058B4 322A 0010 move.w D1, [A2 + 0x10]
000058B8 48C1 ext.l D1
000058BA D280 add.l D1, D0
000058BC 584F addq.w A7, 4
000058BE 3F01 move.w -[A7], D1
000058C0 A8A8 syscall OffsetRect
000058C2 4227 clr.b -[A7]
000058C4 486F 000A pea.l [A7 + 0xA]
000058C8 2F0A move.l -[A7], A2
000058CA 2F2F 002E move.l -[A7], [A7 + 0x2E]
000058CE 4EBA F300 jsr [PC - 0xD00 /* 00004BD0 */]
000058D2 49EF 0016 lea.l A4, [A7 + 0x16]
000058D6 4FEF 000E lea.l A7, [A7 + 0xE]
000058DA 6012 bra +0x14 /* 000058EE */
label000058DC:
000058DC 2F0B move.l -[A7], A3
000058DE 3F2A 0012 move.w -[A7], [A2 + 0x12]
000058E2 3F2A 0010 move.w -[A7], [A2 + 0x10]
000058E6 A8A8 syscall OffsetRect
000058E8 284A movea.l A4, A2
000058EA 49EC 0018 lea.l A4, [A4 + 0x18]
label000058EE:
000058EE 2E94 move.l [A7], [A4]
000058F0 2F6C 0004 0004 move.l [A7 + 0x4], [A4 + 0x4]
000058F6 554F subq.w A7, 2
000058F8 486F 0002 pea.l [A7 + 0x2]
000058FC 2F0B move.l -[A7], A3
000058FE 2F0B move.l -[A7], A3
00005900 A8AA syscall SectRect
00005902 101F move.b D0, [A7]+
00005904 200E move.l D0, A6
00005906 670A beq +0xC /* 00005912 */
00005908 2CAA 0018 move.l [A6], [A2 + 0x18]
0000590C 2D6A 001C 0004 move.l [A6 + 0x4], [A2 + 0x1C]
label00005912:
00005912 4FEF 0010 lea.l A7, [A7 + 0x10]
00005916 4CDF 5C00 movem.l A2,A3,A4,A6, [A7]+
0000591A 4E75 rts
fn0000591C:
0000591C 48E7 1C3A movem.l -[A7], D3,D4,D5,A2,A3,A4,A6
00005920 286F 0020 movea.l A4, [A7 + 0x20]
00005924 2C6F 0024 movea.l A6, [A7 + 0x24]
00005928 266F 0028 movea.l A3, [A7 + 0x28]
0000592C 2F2C 0048 move.l -[A7], [A4 + 0x48]
00005930 4EAD E848 jsr [A5 - 0x17B8]
00005934 1600 move.b D3, D0
00005936 200B move.l D0, A3
00005938 584F addq.w A7, 4
0000593A 6614 bne +0x16 /* 00005950 */
0000593C 0C03 0001 cmpi.b D3, 0x1
00005940 6608 bne +0xA /* 0000594A */
00005942 2F2C 0048 move.l -[A7], [A4 + 0x48]
00005946 4EAD DF80 jsr [A5 - 0x2080]
label0000594A:
0000594A 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
0000594E 4E75 rts
label00005950:
00005950 594F subq.w A7, 4
00005952 2F0B move.l -[A7], A3
00005954 4EAD D9AC jsr [A5 - 0x2654]
00005958 201F move.l D0, [A7]+
0000595A 7224 moveq.l D1, 0x24
0000595C 4EAD D8FE jsr [A5 - 0x2702]
00005960 2A00 move.l D5, D0
00005962 204B movea.l A0, A3
00005964 A029 syscall HLock
00005966 2813 move.l D4, [A3]
00005968 42A7 clr.l -[A7]
0000596A 4878 0024 push.l 0x24 /* '$' */
0000596E 2F05 move.l -[A7], D5
00005970 1F2F 0040 move.b -[A7], [A7 + 0x40]
00005974 4AAF 003E tst.l [A7 + 0x3E]
00005978 6604 bne +0x6 /* 0000597E */
0000597A 91C8 sub.l A0, A0
0000597C 6004 bra +0x6 /* 00005982 */
label0000597E:
0000597E 206F 003A movea.l A0, [A7 + 0x3A]
label00005982:
00005982 4850 pea.l [A0]
00005984 2F04 move.l -[A7], D4
00005986 4EAD DB86 jsr [A5 - 0x247A]
0000598A 2448 movea.l A2, A0
0000598C 200A move.l D0, A2
0000598E 4FEF 0016 lea.l A7, [A7 + 0x16]
00005992 674C beq +0x4E /* 000059E0 */
00005994 3D7C FFFF 0074 move.w [A6 + 0x74], 0xFFFF
0000599A 42A7 clr.l -[A7]
0000599C 2F0A move.l -[A7], A2
0000599E 2F0E move.l -[A7], A6
000059A0 2F0C move.l -[A7], A4
000059A2 4EBA 0054 jsr [PC + 0x54 /* 000059F8 */]
000059A6 4A80 tst.l D0
000059A8 4FEF 0010 lea.l A7, [A7 + 0x10]
000059AC 6740 beq +0x42 /* 000059EE */
000059AE 206A 0008 movea.l A0, [A2 + 0x8]
000059B2 A029 syscall HLock
000059B4 594F subq.w A7, 4
000059B6 2F2A 0008 move.l -[A7], [A2 + 0x8]
000059BA 4EAD D9AC jsr [A5 - 0x2654]
000059BE 201F move.l D0, [A7]+
000059C0 2F00 move.l -[A7], D0
000059C2 206A 0008 movea.l A0, [A2 + 0x8]
000059C6 2F10 move.l -[A7], [A0]
000059C8 2F2E 00A2 move.l -[A7], [A6 + 0xA2]
000059CC 2F2C 0048 move.l -[A7], [A4 + 0x48]
000059D0 4EAD E5F0 jsr [A5 - 0x1A10]
000059D4 206A 0008 movea.l A0, [A2 + 0x8]
000059D8 A02A syscall HUnlock
000059DA 4FEF 0010 lea.l A7, [A7 + 0x10]
000059DE 600E bra +0x10 /* 000059EE */
label000059E0:
000059E0 0C03 0001 cmpi.b D3, 0x1
000059E4 6608 bne +0xA /* 000059EE */
000059E6 2F2C 0048 move.l -[A7], [A4 + 0x48]
000059EA 4EAD DF80 jsr [A5 - 0x2080]
label000059EE:
000059EE 204B movea.l A0, A3
000059F0 A02A syscall HUnlock
000059F2 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
000059F6 4E75 rts
fn000059F8:
000059F8 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
000059FC 286F 0018 movea.l A4, [A7 + 0x18]
00005A00 246F 001C movea.l A2, [A7 + 0x1C]
00005A04 266F 0020 movea.l A3, [A7 + 0x20]
00005A08 7600 moveq.l D3, 0x00
00005A0A 7800 moveq.l D4, 0x00
00005A0C 200B move.l D0, A3
00005A0E 6722 beq +0x24 /* 00005A32 */
00005A10 4AAA 0070 tst.l [A2 + 0x70]
00005A14 6728 beq +0x2A /* 00005A3E */
00005A16 206A 0050 movea.l A0, [A2 + 0x50]
00005A1A B1EB 0008 cmpa.l A0, [A3 + 0x8]
00005A1E 661E bne +0x20 /* 00005A3E */
00005A20 554F subq.w A7, 2
00005A22 486A 0048 pea.l [A2 + 0x48]
00005A26 2F0B move.l -[A7], A3
00005A28 A8A6 syscall EqualRect
00005A2A 101F move.b D0, [A7]+
00005A2C 6710 beq +0x12 /* 00005A3E */
00005A2E 7801 moveq.l D4, 0x01
00005A30 600C bra +0xE /* 00005A3E */
label00005A32:
00005A32 4AAA 0070 tst.l [A2 + 0x70]
00005A36 6606 bne +0x8 /* 00005A3E */
00005A38 7801 moveq.l D4, 0x01
00005A3A 42AA 0050 clr.l [A2 + 0x50]
label00005A3E:
00005A3E 4A84 tst.l D4
00005A40 665E bne +0x60 /* 00005AA0 */
00005A42 4AAA 0070 tst.l [A2 + 0x70]
00005A46 6718 beq +0x1A /* 00005A60 */
00005A48 4227 clr.b -[A7]
00005A4A 2F0A move.l -[A7], A2
00005A4C 2F0C move.l -[A7], A4
00005A4E 4EBA F7E8 jsr [PC - 0x818 /* 00005238 */]
00005A52 42AA 0050 clr.l [A2 + 0x50]
00005A56 42AA 0070 clr.l [A2 + 0x70]
00005A5A 7601 moveq.l D3, 0x01
00005A5C 4FEF 000A lea.l A7, [A7 + 0xA]
label00005A60:
00005A60 200B move.l D0, A3
00005A62 673C beq +0x3E /* 00005AA0 */
00005A64 41D3 lea.l A0, [A3]
00005A66 43EA 0048 lea.l A1, [A2 + 0x48]
00005A6A 7008 moveq.l D0, 0x08
label00005A6C:
00005A6C 22D8 move.l [A1]+, [A0]+
00005A6E 51C8 FFFC dbf D0, -0x6 /* 00005A6C */
00005A72 256F 0024 006C move.l [A2 + 0x6C], [A7 + 0x24]
00005A78 7001 moveq.l D0, 0x01
00005A7A 2540 0070 move.l [A2 + 0x70], D0
00005A7E 4227 clr.b -[A7]
00005A80 2F0A move.l -[A7], A2
00005A82 2F0C move.l -[A7], A4
00005A84 4EBA F7B2 jsr [PC - 0x84E /* 00005238 */]
00005A88 4878 0001 push.l 0x1
00005A8C 42A7 clr.l -[A7]
00005A8E 42A7 clr.l -[A7]
00005A90 4227 clr.b -[A7]
00005A92 2F0A move.l -[A7], A2
00005A94 2F0C move.l -[A7], A4
00005A96 4EBA F9EC jsr [PC - 0x614 /* 00005484 */]
00005A9A 7601 moveq.l D3, 0x01
00005A9C 4FEF 0020 lea.l A7, [A7 + 0x20]
label00005AA0:
00005AA0 2003 move.l D0, D3
00005AA2 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00005AA6 4E75 rts
fn00005AA8:
00005AA8 48E7 1030 movem.l -[A7], D3,A2,A3
00005AAC 266F 0010 movea.l A3, [A7 + 0x10]
00005AB0 246F 0014 movea.l A2, [A7 + 0x14]
00005AB4 262F 0018 move.l D3, [A7 + 0x18]
00005AB8 4AAA 009E tst.l [A2 + 0x9E]
00005ABC 671A beq +0x1C /* 00005AD8 */
00005ABE 2F0B move.l -[A7], A3
00005AC0 2003 move.l D0, D3
00005AC2 57C0 seq D0
00005AC4 4400 neg.b D0
00005AC6 4880 ext.w D0
00005AC8 48C0 ext.l D0
00005ACA 2F00 move.l -[A7], D0
00005ACC 2F2A 009E move.l -[A7], [A2 + 0x9E]
00005AD0 4EAD E5A0 jsr [A5 - 0x1A60]
00005AD4 4FEF 000C lea.l A7, [A7 + 0xC]
label00005AD8:
00005AD8 4A83 tst.l D3
00005ADA 6740 beq +0x42 /* 00005B1C */
00005ADC 2F2A 0076 move.l -[A7], [A2 + 0x76]
00005AE0 2F0A move.l -[A7], A2
00005AE2 4EBA 0962 jsr [PC + 0x962 /* 00006446 */]
00005AE6 4480 neg.l D0
00005AE8 322A 0012 move.w D1, [A2 + 0x12]
00005AEC 48C1 ext.l D1
00005AEE D280 add.l D1, D0
00005AF0 584F addq.w A7, 4
00005AF2 3F01 move.w -[A7], D1
00005AF4 2F0A move.l -[A7], A2
00005AF6 4EBA 096C jsr [PC + 0x96C /* 00006464 */]
00005AFA 4480 neg.l D0
00005AFC 322A 0010 move.w D1, [A2 + 0x10]
00005B00 48C1 ext.l D1
00005B02 D280 add.l D1, D0
00005B04 584F addq.w A7, 4
00005B06 3F01 move.w -[A7], D1
00005B08 A8E0 syscall OffsetRgn/OfsetRgn
00005B0A 2F2A 0076 move.l -[A7], [A2 + 0x76]
00005B0E 4878 FFFF push.l 0xFFFF
00005B12 A8E1 syscall InsetRgn
00005B14 2F2A 0076 move.l -[A7], [A2 + 0x76]
00005B18 A927 syscall InvalRgn
00005B1A 6010 bra +0x12 /* 00005B2C */
label00005B1C:
00005B1C 1F3C 0001 move.b -[A7], 0x1
00005B20 2F0A move.l -[A7], A2
00005B22 2F0B move.l -[A7], A3
00005B24 4EBA F712 jsr [PC - 0x8EE /* 00005238 */]
00005B28 4FEF 000A lea.l A7, [A7 + 0xA]
label00005B2C:
00005B2C 2F2A 0076 move.l -[A7], [A2 + 0x76]
00005B30 A8DD syscall SetEmptyRgn
00005B32 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00005B36 4E75 rts
fn00005B38:
00005B38 48E7 1C30 movem.l -[A7], D3,D4,D5,A2,A3
00005B3C 266F 001C movea.l A3, [A7 + 0x1C]
00005B40 246F 0020 movea.l A2, [A7 + 0x20]
00005B44 2F0A move.l -[A7], A2
00005B46 4EBA C0C2 jsr [PC - 0x3F3E /* 00001C0A */]
00005B4A 2800 move.l D4, D0
00005B4C 2F0A move.l -[A7], A2
00005B4E 2F2F 002C move.l -[A7], [A7 + 0x2C]
00005B52 4878 FFFF push.l 0xFFFF
00005B56 A968 syscall TrackControl
00005B58 301F move.w D0, [A7]+
00005B5A 2F0A move.l -[A7], A2
00005B5C 4EBA C0AC jsr [PC - 0x3F54 /* 00001C0A */]
00005B60 2204 move.l D1, D4
00005B62 9280 sub.l D1, D0
00005B64 2601 move.l D3, D1
00005B66 4A83 tst.l D3
00005B68 5C4F addq.w A7, 6
00005B6A 6726 beq +0x28 /* 00005B92 */
00005B6C B5EB 0096 cmpa.l A2, [A3 + 0x96]
00005B70 6606 bne +0x8 /* 00005B78 */
00005B72 2803 move.l D4, D3
00005B74 7A00 moveq.l D5, 0x00
00005B76 6004 bra +0x6 /* 00005B7C */
label00005B78:
00005B78 7800 moveq.l D4, 0x00
00005B7A 2A03 move.l D5, D3
label00005B7C:
00005B7C 4878 0001 push.l 0x1
00005B80 2F05 move.l -[A7], D5
00005B82 2F04 move.l -[A7], D4
00005B84 2F0B move.l -[A7], A3
00005B86 2F2F 0028 move.l -[A7], [A7 + 0x28]
00005B8A 4EBA FB3A jsr [PC - 0x4C6 /* 000056C6 */]
00005B8E 4FEF 0014 lea.l A7, [A7 + 0x14]
label00005B92:
00005B92 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
00005B96 4E75 rts
00005B98 3F2F 0004 move.w -[A7], [A7 + 0x4]
00005B9C 2F2F 0008 move.l -[A7], [A7 + 0x8]
00005BA0 4EBA 000A jsr [PC + 0xA /* 00005BAC */]
00005BA4 5C4F addq.w A7, 6
00005BA6 205F movea.l A0, [A7]+
00005BA8 5C4F addq.w A7, 6
00005BAA 4ED0 jmp [A0]
fn00005BAC:
00005BAC 48E7 1C38 movem.l -[A7], D3,D4,D5,A2,A3,A4
00005BB0 514F subq.w A7, 8
00005BB2 246F 0024 movea.l A2, [A7 + 0x24]
00005BB6 2052 movea.l A0, [A2]
00005BB8 2868 0004 movea.l A4, [A0 + 0x4]
00005BBC 1F3C 0001 move.b -[A7], 0x1
00005BC0 4878 FF9C push.l 0xFF9C
00005BC4 2F0C move.l -[A7], A4
00005BC6 4EAD E830 jsr [A5 - 0x17D0]
00005BCA 2648 movea.l A3, A0
00005BCC 206B 0050 movea.l A0, [A3 + 0x50]
00005BD0 2850 movea.l A4, [A0]
00005BD2 B5EC 0096 cmpa.l A2, [A4 + 0x96]
00005BD6 57C0 seq D0
00005BD8 4400 neg.b D0
00005BDA 4880 ext.w D0
00005BDC 48C0 ext.l D0
00005BDE 2800 move.l D4, D0
00005BE0 4227 clr.b -[A7]
00005BE2 486F 000C pea.l [A7 + 0xC]
00005BE6 2F0C move.l -[A7], A4
00005BE8 2F0B move.l -[A7], A3
00005BEA 4EBA EFE4 jsr [PC - 0x101C /* 00004BD0 */]
00005BEE 302F 0040 move.w D0, [A7 + 0x40]
00005BF2 48C0 ext.l D0
00005BF4 4FEF 0018 lea.l A7, [A7 + 0x18]
00005BF8 0480 0000 0014 subi.l D0, 0x14
00005BFE 6716 beq +0x18 /* 00005C16 */
00005C00 5380 subq.l D0, 1
00005C02 6716 beq +0x18 /* 00005C1A */
00005C04 5380 subq.l D0, 1
00005C06 6716 beq +0x18 /* 00005C1E */
00005C08 5380 subq.l D0, 1
00005C0A 6740 beq +0x42 /* 00005C4C */
00005C0C 4E71 nop
00005C0E 504F addq.w A7, 8
00005C10 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
00005C14 4E75 rts
label00005C16:
00005C16 76EE moveq.l D3, 0xFFFFFFEE
00005C18 605A bra +0x5C /* 00005C74 */
label00005C1A:
00005C1A 7612 moveq.l D3, 0x12
00005C1C 6056 bra +0x58 /* 00005C74 */
label00005C1E:
00005C1E 4A84 tst.l D4
00005C20 6716 beq +0x18 /* 00005C38 */
00005C22 302F 0002 move.w D0, [A7 + 0x2]
00005C26 48C0 ext.l D0
00005C28 362F 0006 move.w D3, [A7 + 0x6]
00005C2C 48C3 ext.l D3
00005C2E 9680 sub.l D3, D0
00005C30 70EE moveq.l D0, 0xFFFFFFEE
00005C32 D680 add.l D3, D0
00005C34 4483 neg.l D3
00005C36 603C bra +0x3E /* 00005C74 */
label00005C38:
00005C38 3017 move.w D0, [A7]
00005C3A 48C0 ext.l D0
00005C3C 362F 0004 move.w D3, [A7 + 0x4]
00005C40 48C3 ext.l D3
00005C42 9680 sub.l D3, D0
00005C44 70EE moveq.l D0, 0xFFFFFFEE
00005C46 D680 add.l D3, D0
00005C48 4483 neg.l D3
00005C4A 6028 bra +0x2A /* 00005C74 */
label00005C4C:
00005C4C 4A84 tst.l D4
00005C4E 6714 beq +0x16 /* 00005C64 */
00005C50 302F 0002 move.w D0, [A7 + 0x2]
00005C54 48C0 ext.l D0
00005C56 362F 0006 move.w D3, [A7 + 0x6]
00005C5A 48C3 ext.l D3
00005C5C 9680 sub.l D3, D0
00005C5E 70EE moveq.l D0, 0xFFFFFFEE
00005C60 D680 add.l D3, D0
00005C62 6010 bra +0x12 /* 00005C74 */
label00005C64:
00005C64 3017 move.w D0, [A7]
00005C66 48C0 ext.l D0
00005C68 362F 0004 move.w D3, [A7 + 0x4]
00005C6C 48C3 ext.l D3
00005C6E 9680 sub.l D3, D0
00005C70 70EE moveq.l D0, 0xFFFFFFEE
00005C72 D680 add.l D3, D0
label00005C74:
00005C74 3043 movea.w A0, D3
00005C76 2F08 move.l -[A7], A0
00005C78 2F0A move.l -[A7], A2
00005C7A 4EBA FA00 jsr [PC - 0x600 /* 0000567C */]
00005C7E 3600 move.w D3, D0
00005C80 504F addq.w A7, 8
00005C82 6748 beq +0x4A /* 00005CCC */
00005C84 2F0A move.l -[A7], A2
00005C86 4EBA BF82 jsr [PC - 0x407E /* 00001C0A */]
00005C8A 2A00 move.l D5, D0
00005C8C 3003 move.w D0, D3
00005C8E 48C0 ext.l D0
00005C90 D085 add.l D0, D5
00005C92 2F00 move.l -[A7], D0
00005C94 2F0A move.l -[A7], A2
00005C96 4EBA BF96 jsr [PC - 0x406A /* 00001C2E */]
00005C9A 2F0A move.l -[A7], A2
00005C9C 4EBA BF6C jsr [PC - 0x4094 /* 00001C0A */]
00005CA0 2205 move.l D1, D5
00005CA2 9280 sub.l D1, D0
00005CA4 2601 move.l D3, D1
00005CA6 4A84 tst.l D4
00005CA8 4FEF 0010 lea.l A7, [A7 + 0x10]
00005CAC 6706 beq +0x8 /* 00005CB4 */
00005CAE 2803 move.l D4, D3
00005CB0 7A00 moveq.l D5, 0x00
00005CB2 6004 bra +0x6 /* 00005CB8 */
label00005CB4:
00005CB4 7800 moveq.l D4, 0x00
00005CB6 2A03 move.l D5, D3
label00005CB8:
00005CB8 4878 0001 push.l 0x1
00005CBC 2F05 move.l -[A7], D5
00005CBE 2F04 move.l -[A7], D4
00005CC0 2F0C move.l -[A7], A4
00005CC2 2F0B move.l -[A7], A3
00005CC4 4EBA FA00 jsr [PC - 0x600 /* 000056C6 */]
00005CC8 4FEF 0014 lea.l A7, [A7 + 0x14]
label00005CCC:
00005CCC 504F addq.w A7, 8
00005CCE 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
00005CD2 4E75 rts
fn00005CD4:
00005CD4 48E7 0030 movem.l -[A7], A2,A3
00005CD8 266F 000C movea.l A3, [A7 + 0xC]
00005CDC 246F 0010 movea.l A2, [A7 + 0x10]
00005CE0 276A 0018 0040 move.l [A3 + 0x40], [A2 + 0x18]
00005CE6 276A 001C 0044 move.l [A3 + 0x44], [A2 + 0x1C]
00005CEC 4AAB 0054 tst.l [A3 + 0x54]
00005CF0 661A bne +0x1C /* 00005D0C */
00005CF2 4AAA 009A tst.l [A2 + 0x9A]
00005CF6 6718 beq +0x1A /* 00005D10 */
00005CF8 206A 009A movea.l A0, [A2 + 0x9A]
00005CFC 2050 movea.l A0, [A0]
00005CFE 4A28 0010 tst.b [A0 + 0x10]
00005D02 670C beq +0xE /* 00005D10 */
00005D04 066B 0010 0046 addi.w [A3 + 0x46], 0x10
00005D0A 6004 bra +0x6 /* 00005D10 */
label00005D0C:
00005D0C 536B 0046 subq.w [A3 + 0x46], 1
label00005D10:
00005D10 4AAA 0096 tst.l [A2 + 0x96]
00005D14 6712 beq +0x14 /* 00005D28 */
00005D16 206A 0096 movea.l A0, [A2 + 0x96]
00005D1A 2050 movea.l A0, [A0]
00005D1C 4A28 0010 tst.b [A0 + 0x10]
00005D20 6706 beq +0x8 /* 00005D28 */
00005D22 066B 0010 0044 addi.w [A3 + 0x44], 0x10
label00005D28:
00005D28 4CDF 0C00 movem.l A2,A3, [A7]+
00005D2C 4E75 rts
fn00005D2E:
00005D2E 48E7 0038 movem.l -[A7], A2,A3,A4
00005D32 246F 0014 movea.l A2, [A7 + 0x14]
00005D36 286F 0018 movea.l A4, [A7 + 0x18]
00005D3A 266F 001C movea.l A3, [A7 + 0x1C]
00005D3E 082A 0006 0020 btst.b [A2 + 0x20], 0x6
00005D44 6608 bne +0xA /* 00005D4E */
00005D46 082A 0005 0020 btst.b [A2 + 0x20], 0x5
00005D4C 670E beq +0x10 /* 00005D5C */
label00005D4E:
00005D4E 28AA 0014 move.l [A4], [A2 + 0x14]
00005D52 26AA 0018 move.l [A3], [A2 + 0x18]
00005D56 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00005D5A 4E75 rts
label00005D5C:
00005D5C 2F0B move.l -[A7], A3
00005D5E 2F0C move.l -[A7], A4
00005D60 2F2A 0014 move.l -[A7], [A2 + 0x14]
00005D64 1F3C 0006 move.b -[A7], 0x6
00005D68 206F 001E movea.l A0, [A7 + 0x1E]
00005D6C 2F28 0048 move.l -[A7], [A0 + 0x48]
00005D70 4EAD E818 jsr [A5 - 0x17E8]
00005D74 5C4F addq.w A7, 6
00005D76 3F10 move.w -[A7], [A0]
00005D78 4EAD E218 jsr [A5 - 0x1DE8]
00005D7C 2554 0014 move.l [A2 + 0x14], [A4]
00005D80 2553 0018 move.l [A2 + 0x18], [A3]
00005D84 002A 0040 0020 ori.b [A2 + 0x20], 0x40 /* '@' */
00005D8A 4FEF 000E lea.l A7, [A7 + 0xE]
00005D8E 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00005D92 4E75 rts
fn00005D94:
00005D94 2F0A move.l -[A7], A2
00005D96 246F 000C movea.l A2, [A7 + 0xC]
00005D9A 206F 0008 movea.l A0, [A7 + 0x8]
00005D9E 2F28 0048 move.l -[A7], [A0 + 0x48]
00005DA2 4EAD E848 jsr [A5 - 0x17B8]
00005DA6 5300 subq.b D0, 1
00005DA8 584F addq.w A7, 4
00005DAA 6608 bne +0xA /* 00005DB4 */
00005DAC 42A7 clr.l -[A7]
00005DAE 4EBA B886 jsr [PC - 0x477A /* 00001636 */]
00005DB2 584F addq.w A7, 4
label00005DB4:
00005DB4 2F2A 0010 move.l -[A7], [A2 + 0x10]
00005DB8 2F2A 0018 move.l -[A7], [A2 + 0x18]
00005DBC 2F2A 0014 move.l -[A7], [A2 + 0x14]
00005DC0 206F 0014 movea.l A0, [A7 + 0x14]
00005DC4 2F28 0048 move.l -[A7], [A0 + 0x48]
00005DC8 4EBA BFF4 jsr [PC - 0x400C /* 00001DBE */]
00005DCC 4FEF 0010 lea.l A7, [A7 + 0x10]
00005DD0 245F movea.l A2, [A7]+
00005DD2 4E75 rts
fn00005DD4:
00005DD4 48E7 1C3A movem.l -[A7], D3,D4,D5,A2,A3,A4,A6
00005DD8 4FEF FFD8 lea.l A7, [A7 - 0x28]
00005DDC 266F 0048 movea.l A3, [A7 + 0x48]
00005DE0 246F 004C movea.l A2, [A7 + 0x4C]
00005DE4 2A2F 0050 move.l D5, [A7 + 0x50]
00005DE8 2C6F 0058 movea.l A6, [A7 + 0x58]
00005DEC 286F 005C movea.l A4, [A7 + 0x5C]
00005DF0 7800 moveq.l D4, 0x00
00005DF2 4294 clr.l [A4]
00005DF4 1F3C 0002 move.b -[A7], 0x2
00005DF8 2F0A move.l -[A7], A2
00005DFA 2F0B move.l -[A7], A3
00005DFC 4EBA F43A jsr [PC - 0xBC6 /* 00005238 */]
00005E00 42A7 clr.l -[A7]
00005E02 4EAD DD50 jsr [A5 - 0x22B0]
00005E06 486A 0018 pea.l [A2 + 0x18]
00005E0A 2F0B move.l -[A7], A3
00005E0C 4EBA 086C jsr [PC + 0x86C /* 0000667A */]
00005E10 2045 movea.l A0, D5
00005E12 4A28 0021 tst.b [A0 + 0x21]
00005E16 4FEF 0016 lea.l A7, [A7 + 0x16]
00005E1A 6722 beq +0x24 /* 00005E3E */
00005E1C 4227 clr.b -[A7]
00005E1E 486F 000A pea.l [A7 + 0xA]
00005E22 2F0A move.l -[A7], A2
00005E24 2F0B move.l -[A7], A3
00005E26 4EBA EDA8 jsr [PC - 0x1258 /* 00004BD0 */]
00005E2A 486F 0016 pea.l [A7 + 0x16]
00005E2E 2F0E move.l -[A7], A6
00005E30 486F 0032 pea.l [A7 + 0x32]
00005E34 A8AA syscall SectRect
00005E36 101F move.b D0, [A7]+
00005E38 4FEF 000C lea.l A7, [A7 + 0xC]
00005E3C 6010 bra +0x12 /* 00005E4E */
label00005E3E:
00005E3E 554F subq.w A7, 2
00005E40 486A 0018 pea.l [A2 + 0x18]
00005E44 2F0E move.l -[A7], A6
00005E46 486F 0026 pea.l [A7 + 0x26]
00005E4A A8AA syscall SectRect
00005E4C 101F move.b D0, [A7]+
label00005E4E:
00005E4E 2F6F 0054 0024 move.l [A7 + 0x24], [A7 + 0x54]
00005E54 302F 0056 move.w D0, [A7 + 0x56]
00005E58 48C0 ext.l D0
00005E5A 5380 subq.l D0, 1
00005E5C 3F40 001A move.w [A7 + 0x1A], D0
label00005E60:
00005E60 554F subq.w A7, 2
00005E62 2F2F 0026 move.l -[A7], [A7 + 0x26]
00005E66 2F2F 001E move.l -[A7], [A7 + 0x1E]
00005E6A A881 syscall EqualPt
00005E6C 101F move.b D0, [A7]+
00005E6E 6638 bne +0x3A /* 00005EA8 */
00005E70 2F6F 0024 0018 move.l [A7 + 0x18], [A7 + 0x24]
00005E76 554F subq.w A7, 2
00005E78 2F2F 0026 move.l -[A7], [A7 + 0x26]
00005E7C 486F 0022 pea.l [A7 + 0x22]
00005E80 A8AD syscall PtInRect
00005E82 101F move.b D0, [A7]+
00005E84 7200 moveq.l D1, 0x00
00005E86 1200 move.b D1, D0
00005E88 2601 move.l D3, D1
00005E8A B883 cmp.l D4, D3
00005E8C 671A beq +0x1C /* 00005EA8 */
00005E8E 2803 move.l D4, D3
00005E90 2F6F 001C 0010 move.l [A7 + 0x10], [A7 + 0x1C]
00005E96 2F6F 0020 0014 move.l [A7 + 0x14], [A7 + 0x20]
00005E9C 42A7 clr.l -[A7]
00005E9E 486F 0014 pea.l [A7 + 0x14]
00005EA2 4EBA 118A jsr [PC + 0x118A /* 0000702E */]
00005EA6 504F addq.w A7, 8
label00005EA8:
00005EA8 486F 0024 pea.l [A7 + 0x24]
00005EAC A972 syscall GetMouse
00005EAE 554F subq.w A7, 2
00005EB0 A973 syscall StillDown
00005EB2 101F move.b D0, [A7]+
00005EB4 66AA bne -0x54 /* 00005E60 */
00005EB6 4A84 tst.l D4
00005EB8 6736 beq +0x38 /* 00005EF0 */
00005EBA 2EAF 001C move.l [A7], [A7 + 0x1C]
00005EBE 2F6F 0020 0004 move.l [A7 + 0x4], [A7 + 0x20]
00005EC4 42A7 clr.l -[A7]
00005EC6 486F 0004 pea.l [A7 + 0x4]
00005ECA 4EBA 1162 jsr [PC + 0x1162 /* 0000702E */]
00005ECE 4EAD DD58 jsr [A5 - 0x22A8]
00005ED2 7001 moveq.l D0, 0x01
00005ED4 2880 move.l [A4], D0
00005ED6 42AA 0070 clr.l [A2 + 0x70]
00005EDA 3F3C FFFF move.w -[A7], 0xFFFF
00005EDE 42A7 clr.l -[A7]
00005EE0 2F05 move.l -[A7], D5
00005EE2 2F0A move.l -[A7], A2
00005EE4 2F0B move.l -[A7], A3
00005EE6 4EBA 0028 jsr [PC + 0x28 /* 00005F10 */]
00005EEA 4FEF 001A lea.l A7, [A7 + 0x1A]
00005EEE 6014 bra +0x16 /* 00005F04 */
label00005EF0:
00005EF0 1F3C 0002 move.b -[A7], 0x2
00005EF4 2F0A move.l -[A7], A2
00005EF6 2F0B move.l -[A7], A3
00005EF8 4EBA F33E jsr [PC - 0xCC2 /* 00005238 */]
00005EFC 4EAD DD58 jsr [A5 - 0x22A8]
00005F00 4FEF 000A lea.l A7, [A7 + 0xA]
label00005F04:
00005F04 2004 move.l D0, D4
00005F06 4FEF 0028 lea.l A7, [A7 + 0x28]
00005F0A 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
00005F0E 4E75 rts
fn00005F10:
00005F10 48E7 1C3A movem.l -[A7], D3,D4,D5,A2,A3,A4,A6
00005F14 4FEF FFA8 lea.l A7, [A7 - 0x58]
00005F18 266F 0078 movea.l A3, [A7 + 0x78]
00005F1C 246F 007C movea.l A2, [A7 + 0x7C]
00005F20 286F 0080 movea.l A4, [A7 + 0x80]
00005F24 2A2F 0084 move.l D5, [A7 + 0x84]
00005F28 362F 0088 move.w D3, [A7 + 0x88]
00005F2C 2F2B 0048 move.l -[A7], [A3 + 0x48]
00005F30 4EAD E408 jsr [A5 - 0x1BF8]
00005F34 486F 004C pea.l [A7 + 0x4C]
00005F38 486F 005C pea.l [A7 + 0x5C]
00005F3C 2F0C move.l -[A7], A4
00005F3E 2F0B move.l -[A7], A3
00005F40 4EBA FDEC jsr [PC - 0x214 /* 00005D2E */]
00005F44 42A7 clr.l -[A7]
00005F46 2F0A move.l -[A7], A2
00005F48 2F0B move.l -[A7], A3
00005F4A 4EBA FB5C jsr [PC - 0x4A4 /* 00005AA8 */]
00005F4E 0C2C 0001 0022 cmpi.b [A4 + 0x22], 0x1
00005F54 4FEF 0020 lea.l A7, [A7 + 0x20]
00005F58 6600 00DE bne +0xE0 /* 00006038 */
00005F5C 4EBA 126A jsr [PC + 0x126A /* 000071C8 */]
00005F60 4A80 tst.l D0
00005F62 6708 beq +0xA /* 00005F6C */
00005F64 2F0A move.l -[A7], A2
00005F66 4EBA 11B2 jsr [PC + 0x11B2 /* 0000711A */]
00005F6A 584F addq.w A7, 4
label00005F6C:
00005F6C 082A 0005 00AE btst.b [A2 + 0xAE], 0x5
00005F72 671A beq +0x1C /* 00005F8E */
00005F74 42A7 clr.l -[A7]
00005F76 2F0C move.l -[A7], A4
00005F78 102C 0021 move.b D0, [A4 + 0x21]
00005F7C 4880 ext.w D0
00005F7E 48C0 ext.l D0
00005F80 2F00 move.l -[A7], D0
00005F82 2F0A move.l -[A7], A2
00005F84 2F0B move.l -[A7], A3
00005F86 4EBA 04FA jsr [PC + 0x4FA /* 00006482 */]
00005F8A 4FEF 0014 lea.l A7, [A7 + 0x14]
label00005F8E:
00005F8E 2F54 0040 move.l [A7 + 0x40], [A4]
00005F92 2F6C 0004 0044 move.l [A7 + 0x44], [A4 + 0x4]
00005F98 102C 0021 move.b D0, [A4 + 0x21]
00005F9C 4880 ext.w D0
00005F9E 48C0 ext.l D0
00005FA0 2F00 move.l -[A7], D0
00005FA2 42A7 clr.l -[A7]
00005FA4 486F 0048 pea.l [A7 + 0x48]
00005FA8 2F0A move.l -[A7], A2
00005FAA 2F0B move.l -[A7], A3
00005FAC 4EBA F8CE jsr [PC - 0x732 /* 0000587C */]
00005FB0 2F6F 0054 004C move.l [A7 + 0x4C], [A7 + 0x54]
00005FB6 486F 004C pea.l [A7 + 0x4C]
00005FBA A870 syscall LocalToGlobal
00005FBC 4AAF 0068 tst.l [A7 + 0x68]
00005FC0 4FEF 0014 lea.l A7, [A7 + 0x14]
00005FC4 6C1E bge +0x20 /* 00005FE4 */
00005FC6 42A7 clr.l -[A7]
00005FC8 4878 0001 push.l 0x1
00005FCC 486F 005C pea.l [A7 + 0x5C]
00005FD0 486F 0048 pea.l [A7 + 0x48]
00005FD4 2F2F 0064 move.l -[A7], [A7 + 0x64]
00005FD8 2F0B move.l -[A7], A3
00005FDA 4EBA 0D18 jsr [PC + 0xD18 /* 00006CF4 */]
00005FDE 4FEF 0018 lea.l A7, [A7 + 0x18]
00005FE2 6006 bra +0x8 /* 00005FEA */
label00005FE4:
00005FE4 2F6B 0048 003C move.l [A7 + 0x3C], [A3 + 0x48]
label00005FEA:
00005FEA 2F2B 0050 move.l -[A7], [A3 + 0x50]
00005FEE 4EAD DD88 jsr [A5 - 0x2278]
00005FF2 4AAF 0040 tst.l [A7 + 0x40]
00005FF6 584F addq.w A7, 4
00005FF8 6700 0330 beq +0x332 /* 0000632A */
00005FFC 2F6F 0040 0014 move.l [A7 + 0x14], [A7 + 0x40]
00006002 2F6F 0044 0018 move.l [A7 + 0x18], [A7 + 0x44]
00006008 4878 0001 push.l 0x1
0000600C 42A7 clr.l -[A7]
0000600E 2F2F 0040 move.l -[A7], [A7 + 0x40]
00006012 4878 0001 push.l 0x1
00006016 486F 0024 pea.l [A7 + 0x24]
0000601A 2F2F 005C move.l -[A7], [A7 + 0x5C]
0000601E 2F2F 006C move.l -[A7], [A7 + 0x6C]
00006022 4267 clr.w -[A7]
00006024 2F2C 0008 move.l -[A7], [A4 + 0x8]
00006028 2F2F 005E move.l -[A7], [A7 + 0x5E]
0000602C 4EBA B298 jsr [PC - 0x4D68 /* 000012C6 */]
00006030 4FEF 0026 lea.l A7, [A7 + 0x26]
00006034 6000 02F4 bra +0x2F6 /* 0000632A */
label00006038:
00006038 4A85 tst.l D5
0000603A 6600 00DA bne +0xDC /* 00006116 */
0000603E 4AAF 0054 tst.l [A7 + 0x54]
00006042 6C00 00D2 bge +0xD4 /* 00006116 */
00006046 9DCE sub.l A6, A6
00006048 082A 0006 00AE btst.b [A2 + 0xAE], 0x6
0000604E 671C beq +0x1E /* 0000606C */
00006050 486F 000C pea.l [A7 + 0xC]
00006054 2F0C move.l -[A7], A4
00006056 102C 0021 move.b D0, [A4 + 0x21]
0000605A 4880 ext.w D0
0000605C 48C0 ext.l D0
0000605E 2F00 move.l -[A7], D0
00006060 2F0A move.l -[A7], A2
00006062 2F0B move.l -[A7], A3
00006064 4EBA 041C jsr [PC + 0x41C /* 00006482 */]
00006068 4FEF 0014 lea.l A7, [A7 + 0x14]
label0000606C:
0000606C 486F 000C pea.l [A7 + 0xC]
00006070 2F2F 0058 move.l -[A7], [A7 + 0x58]
00006074 2F0A move.l -[A7], A2
00006076 2F0B move.l -[A7], A3
00006078 4EBA 02C2 jsr [PC + 0x2C2 /* 0000633C */]
0000607C 486F 0010 pea.l [A7 + 0x10]
00006080 486F 0060 pea.l [A7 + 0x60]
00006084 3F2A 00B2 move.w -[A7], [A2 + 0xB2]
00006088 2F0B move.l -[A7], A3
0000608A 4EBA 0984 jsr [PC + 0x984 /* 00006A10 */]
0000608E 2600 move.l D3, D0
00006090 4A83 tst.l D3
00006092 4FEF 001E lea.l A7, [A7 + 0x1E]
00006096 6710 beq +0x12 /* 000060A8 */
00006098 206F 004C movea.l A0, [A7 + 0x4C]
0000609C 2F28 0048 move.l -[A7], [A0 + 0x48]
000060A0 4EAD DD40 jsr [A5 - 0x22C0]
000060A4 584F addq.w A7, 4
000060A6 6004 bra +0x6 /* 000060AC */
label000060A8:
000060A8 2F4B 004C move.l [A7 + 0x4C], A3
label000060AC:
000060AC 206F 004C movea.l A0, [A7 + 0x4C]
000060B0 2F28 0050 move.l -[A7], [A0 + 0x50]
000060B4 4EAD DD88 jsr [A5 - 0x2278]
000060B8 4AAD B2D8 tst.l [A5 - 0x4D28]
000060BC 584F addq.w A7, 4
000060BE 671A beq +0x1C /* 000060DA */
000060C0 2F54 002C move.l [A7 + 0x2C], [A4]
000060C4 2F6C 0004 0030 move.l [A7 + 0x30], [A4 + 0x4]
000060CA 102C 0021 move.b D0, [A4 + 0x21]
000060CE 4880 ext.w D0
000060D0 48C0 ext.l D0
000060D2 2F40 0034 move.l [A7 + 0x34], D0
000060D6 4DEF 002C lea.l A6, [A7 + 0x2C]
label000060DA:
000060DA 2F0E move.l -[A7], A6
000060DC 42A7 clr.l -[A7]
000060DE 42A7 clr.l -[A7]
000060E0 42A7 clr.l -[A7]
000060E2 2F2F 0064 move.l -[A7], [A7 + 0x64]
000060E6 2F2F 0060 move.l -[A7], [A7 + 0x60]
000060EA 4EBA 0C08 jsr [PC + 0xC08 /* 00006CF4 */]
000060EE 4A83 tst.l D3
000060F0 4FEF 0018 lea.l A7, [A7 + 0x18]
000060F4 6700 0234 beq +0x236 /* 0000632A */
000060F8 4EAD DD48 jsr [A5 - 0x22B8]
000060FC 1F3C 0002 move.b -[A7], 0x2
00006100 42A7 clr.l -[A7]
00006102 206F 0052 movea.l A0, [A7 + 0x52]
00006106 2F28 0048 move.l -[A7], [A0 + 0x48]
0000610A 4EAD E830 jsr [A5 - 0x17D0]
0000610E 4FEF 000A lea.l A7, [A7 + 0xA]
00006112 6000 0216 bra +0x218 /* 0000632A */
label00006116:
00006116 0C2C 0003 0022 cmpi.b [A4 + 0x22], 0x3
0000611C 663A bne +0x3C /* 00006158 */
0000611E 082A 0006 00AE btst.b [A2 + 0xAE], 0x6
00006124 671A beq +0x1C /* 00006140 */
00006126 42A7 clr.l -[A7]
00006128 2F0C move.l -[A7], A4
0000612A 102C 0021 move.b D0, [A4 + 0x21]
0000612E 4880 ext.w D0
00006130 48C0 ext.l D0
00006132 2F00 move.l -[A7], D0
00006134 2F0A move.l -[A7], A2
00006136 2F0B move.l -[A7], A3
00006138 4EBA 0348 jsr [PC + 0x348 /* 00006482 */]
0000613C 4FEF 0014 lea.l A7, [A7 + 0x14]
label00006140:
00006140 2F2B 0050 move.l -[A7], [A3 + 0x50]
00006144 4EAD DD88 jsr [A5 - 0x2278]
00006148 2F0C move.l -[A7], A4
0000614A 2F0B move.l -[A7], A3
0000614C 4EBA FC46 jsr [PC - 0x3BA /* 00005D94 */]
00006150 4FEF 000C lea.l A7, [A7 + 0xC]
00006154 6000 01D4 bra +0x1D6 /* 0000632A */
label00006158:
00006158 0C2C 0002 0022 cmpi.b [A4 + 0x22], 0x2
0000615E 6600 0096 bne +0x98 /* 000061F6 */
00006162 4EBA 1064 jsr [PC + 0x1064 /* 000071C8 */]
00006166 4A80 tst.l D0
00006168 6708 beq +0xA /* 00006172 */
0000616A 2F0A move.l -[A7], A2
0000616C 4EBA 0FAC jsr [PC + 0xFAC /* 0000711A */]
00006170 584F addq.w A7, 4
label00006172:
00006172 082A 0005 00AE btst.b [A2 + 0xAE], 0x5
00006178 671A beq +0x1C /* 00006194 */
0000617A 42A7 clr.l -[A7]
0000617C 2F0C move.l -[A7], A4
0000617E 102C 0021 move.b D0, [A4 + 0x21]
00006182 4880 ext.w D0
00006184 48C0 ext.l D0
00006186 2F00 move.l -[A7], D0
00006188 2F0A move.l -[A7], A2
0000618A 2F0B move.l -[A7], A3
0000618C 4EBA 02F4 jsr [PC + 0x2F4 /* 00006482 */]
00006190 4FEF 0014 lea.l A7, [A7 + 0x14]
label00006194:
00006194 2F2B 0050 move.l -[A7], [A3 + 0x50]
00006198 4EAD DD88 jsr [A5 - 0x2278]
0000619C 246B 0048 movea.l A2, [A3 + 0x48]
000061A0 584F addq.w A7, 4
000061A2 6022 bra +0x24 /* 000061C6 */
label000061A4:
000061A4 302A 006C move.w D0, [A2 + 0x6C]
000061A8 B06D B416 cmp.w D0, [A5 - 0x4BEA]
000061AC 6614 bne +0x16 /* 000061C2 */
000061AE 2F0A move.l -[A7], A2
000061B0 4EAD E848 jsr [A5 - 0x17B8]
000061B4 1600 move.b D3, D0
000061B6 4A03 tst.b D3
000061B8 584F addq.w A7, 4
000061BA 670E beq +0x10 /* 000061CA */
000061BC 0C03 0002 cmpi.b D3, 0x2
000061C0 6708 beq +0xA /* 000061CA */
label000061C2:
000061C2 246A 0090 movea.l A2, [A2 + 0x90]
label000061C6:
000061C6 200A move.l D0, A2
000061C8 66DA bne -0x24 /* 000061A4 */
label000061CA:
000061CA 200A move.l D0, A2
000061CC 6700 015C beq +0x15E /* 0000632A */
000061D0 2F2F 0054 move.l -[A7], [A7 + 0x54]
000061D4 4227 clr.b -[A7]
000061D6 082C 0004 0020 btst.b [A4 + 0x20], 0x4
000061DC 6604 bne +0x6 /* 000061E2 */
000061DE 91C8 sub.l A0, A0
000061E0 6004 bra +0x6 /* 000061E6 */
label000061E2:
000061E2 206C 0008 movea.l A0, [A4 + 0x8]
label000061E6:
000061E6 4850 pea.l [A0]
000061E8 2F0A move.l -[A7], A2
000061EA 4EBA ACB0 jsr [PC - 0x5350 /* 00000E9C */]
000061EE 4FEF 000E lea.l A7, [A7 + 0xE]
000061F2 6000 0136 bra +0x138 /* 0000632A */
label000061F6:
000061F6 382A 00B2 move.w D4, [A2 + 0xB2]
000061FA 4A85 tst.l D5
000061FC 6720 beq +0x22 /* 0000621E */
000061FE 3F03 move.w -[A7], D3
00006200 2F2C 0008 move.l -[A7], [A4 + 0x8]
00006204 2F2B 0048 move.l -[A7], [A3 + 0x48]
00006208 4EBA 0CAC jsr [PC + 0xCAC /* 00006EB6 */]
0000620C 2F2B 0050 move.l -[A7], [A3 + 0x50]
00006210 4EAD DD88 jsr [A5 - 0x2278]
00006214 4FEF 0066 lea.l A7, [A7 + 0x66]
00006218 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
0000621C 4E75 rts
label0000621E:
0000621E 082A 0006 00AE btst.b [A2 + 0xAE], 0x6
00006224 671C beq +0x1E /* 00006242 */
00006226 486F 0004 pea.l [A7 + 0x4]
0000622A 2F0C move.l -[A7], A4
0000622C 102C 0021 move.b D0, [A4 + 0x21]
00006230 4880 ext.w D0
00006232 48C0 ext.l D0
00006234 2F00 move.l -[A7], D0
00006236 2F0A move.l -[A7], A2
00006238 2F0B move.l -[A7], A3
0000623A 4EBA 0246 jsr [PC + 0x246 /* 00006482 */]
0000623E 4FEF 0014 lea.l A7, [A7 + 0x14]
label00006242:
00006242 4AAD B2D8 tst.l [A5 - 0x4D28]
00006246 6734 beq +0x36 /* 0000627C */
00006248 3003 move.w D0, D3
0000624A 48C0 ext.l D0
0000624C 4A80 tst.l D0
0000624E 6F2C ble +0x2E /* 0000627C */
00006250 B644 cmp.w D3, D4
00006252 6728 beq +0x2A /* 0000627C */
00006254 2F2B 0050 move.l -[A7], [A3 + 0x50]
00006258 4EAD DD88 jsr [A5 - 0x2278]
0000625C 42A7 clr.l -[A7]
0000625E 42A7 clr.l -[A7]
00006260 2F2F 0054 move.l -[A7], [A7 + 0x54]
00006264 2F2F 0064 move.l -[A7], [A7 + 0x64]
00006268 3F03 move.w -[A7], D3
0000626A 2F2B 0048 move.l -[A7], [A3 + 0x48]
0000626E 4EAD FF20 jsr [A5 - 0xE0]
00006272 4FEF 0072 lea.l A7, [A7 + 0x72]
00006276 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
0000627A 4E75 rts
label0000627C:
0000627C 486F 001C pea.l [A7 + 0x1C]
00006280 486F 0054 pea.l [A7 + 0x54]
00006284 3F04 move.w -[A7], D4
00006286 2F0B move.l -[A7], A3
00006288 4EBA 0786 jsr [PC + 0x786 /* 00006A10 */]
0000628C 2600 move.l D3, D0
0000628E 4FEF 000E lea.l A7, [A7 + 0xE]
00006292 6710 beq +0x12 /* 000062A4 */
00006294 206F 0050 movea.l A0, [A7 + 0x50]
00006298 2F28 0048 move.l -[A7], [A0 + 0x48]
0000629C 4EAD DD40 jsr [A5 - 0x22C0]
000062A0 584F addq.w A7, 4
000062A2 6008 bra +0xA /* 000062AC */
label000062A4:
000062A4 2F4B 0050 move.l [A7 + 0x50], A3
000062A8 2F4A 001C move.l [A7 + 0x1C], A2
label000062AC:
000062AC 486F 0004 pea.l [A7 + 0x4]
000062B0 2F2F 0058 move.l -[A7], [A7 + 0x58]
000062B4 2F2F 0024 move.l -[A7], [A7 + 0x24]
000062B8 2F2F 005C move.l -[A7], [A7 + 0x5C]
000062BC 4EBA 007E jsr [PC + 0x7E /* 0000633C */]
000062C0 2F54 0030 move.l [A7 + 0x30], [A4]
000062C4 2F6C 0004 0034 move.l [A7 + 0x34], [A4 + 0x4]
000062CA 102C 0021 move.b D0, [A4 + 0x21]
000062CE 4880 ext.w D0
000062D0 48C0 ext.l D0
000062D2 2F40 0038 move.l [A7 + 0x38], D0
000062D6 4AAB 0054 tst.l [A3 + 0x54]
000062DA 6704 beq +0x6 /* 000062E0 */
000062DC 91C8 sub.l A0, A0
000062DE 6004 bra +0x6 /* 000062E4 */
label000062E0:
000062E0 41EF 0030 lea.l A0, [A7 + 0x30]
label000062E4:
000062E4 4850 pea.l [A0]
000062E6 42A7 clr.l -[A7]
000062E8 2F2F 0060 move.l -[A7], [A7 + 0x60]
000062EC 2F2F 0070 move.l -[A7], [A7 + 0x70]
000062F0 206F 0070 movea.l A0, [A7 + 0x70]
000062F4 2F28 0048 move.l -[A7], [A0 + 0x48]
000062F8 4EBA C27C jsr [PC - 0x3D84 /* 00002576 */]
000062FC 206F 0074 movea.l A0, [A7 + 0x74]
00006300 2F28 0050 move.l -[A7], [A0 + 0x50]
00006304 4EAD DD88 jsr [A5 - 0x2278]
00006308 4A83 tst.l D3
0000630A 4FEF 0028 lea.l A7, [A7 + 0x28]
0000630E 671A beq +0x1C /* 0000632A */
00006310 4EAD DD48 jsr [A5 - 0x22B8]
00006314 1F3C 0002 move.b -[A7], 0x2
00006318 42A7 clr.l -[A7]
0000631A 206F 0056 movea.l A0, [A7 + 0x56]
0000631E 2F28 0048 move.l -[A7], [A0 + 0x48]
00006322 4EAD E830 jsr [A5 - 0x17D0]
00006326 4FEF 000A lea.l A7, [A7 + 0xA]
label0000632A:
0000632A 4878 002A push.l 0x2A /* '*' */
0000632E 201F move.l D0, [A7]+
00006330 A032 syscall FlushEvents
00006332 4FEF 0058 lea.l A7, [A7 + 0x58]
00006336 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
0000633A 4E75 rts
fn0000633C:
0000633C 48E7 0030 movem.l -[A7], A2,A3
00006340 266F 000C movea.l A3, [A7 + 0xC]
00006344 246F 0010 movea.l A2, [A7 + 0x10]
00006348 4EBA 0E7E jsr [PC + 0xE7E /* 000071C8 */]
0000634C 4A80 tst.l D0
0000634E 670E beq +0x10 /* 0000635E */
00006350 2F0A move.l -[A7], A2
00006352 4EBA 0DC6 jsr [PC + 0xDC6 /* 0000711A */]
00006356 584F addq.w A7, 4
00006358 4CDF 0C00 movem.l A2,A3, [A7]+
0000635C 4E75 rts
label0000635E:
0000635E 4A6D B48C tst.w [A5 - 0x4B74]
00006362 6750 beq +0x52 /* 000063B4 */
00006364 082A 0006 00AE btst.b [A2 + 0xAE], 0x6
0000636A 6748 beq +0x4A /* 000063B4 */
0000636C 1F3C 0001 move.b -[A7], 0x1
00006370 2F2B 0048 move.l -[A7], [A3 + 0x48]
00006374 4EAD E818 jsr [A5 - 0x17E8]
00006378 202F 001A move.l D0, [A7 + 0x1A]
0000637C B090 cmp.l D0, [A0]
0000637E 5C4F addq.w A7, 6
00006380 6732 beq +0x34 /* 000063B4 */
00006382 4EAD DD70 jsr [A5 - 0x2290]
00006386 486A 0018 pea.l [A2 + 0x18]
0000638A 2F0B move.l -[A7], A3
0000638C 4EBA 0D3A jsr [PC + 0xD3A /* 000070C8 */]
00006390 4227 clr.b -[A7]
00006392 2F0A move.l -[A7], A2
00006394 2F0B move.l -[A7], A3
00006396 4EBA 064A jsr [PC + 0x64A /* 000069E2 */]
0000639A 42A7 clr.l -[A7]
0000639C 486A 0018 pea.l [A2 + 0x18]
000063A0 2F2F 0032 move.l -[A7], [A7 + 0x32]
000063A4 4EAD DB9E jsr [A5 - 0x2462]
000063A8 4EAD DD58 jsr [A5 - 0x22A8]
000063AC 4EAD DD78 jsr [A5 - 0x2288]
000063B0 4FEF 001E lea.l A7, [A7 + 0x1E]
label000063B4:
000063B4 4CDF 0C00 movem.l A2,A3, [A7]+
000063B8 4E75 rts
fn000063BA:
000063BA 48E7 0030 movem.l -[A7], A2,A3
000063BE 246F 000C movea.l A2, [A7 + 0xC]
000063C2 594F subq.w A7, 4
000063C4 A8D8 syscall NewRgn
000063C6 205F movea.l A0, [A7]+
000063C8 2648 movea.l A3, A0
000063CA 2008 move.l D0, A0
000063CC 6772 beq +0x74 /* 00006440 */
000063CE 2F2A 0076 move.l -[A7], [A2 + 0x76]
000063D2 2F0B move.l -[A7], A3
000063D4 A8DC syscall CopyRgn
000063D6 2F0B move.l -[A7], A3
000063D8 4878 FFFF push.l 0xFFFF
000063DC A8E1 syscall InsetRgn
000063DE 4AAA 008E tst.l [A2 + 0x8E]
000063E2 6728 beq +0x2A /* 0000640C */
000063E4 2F0B move.l -[A7], A3
000063E6 3F2A 0012 move.w -[A7], [A2 + 0x12]
000063EA 3F2A 0010 move.w -[A7], [A2 + 0x10]
000063EE A8E0 syscall OffsetRgn/OfsetRgn
000063F0 2F0B move.l -[A7], A3
000063F2 A927 syscall InvalRgn
000063F4 2F0B move.l -[A7], A3
000063F6 302A 0012 move.w D0, [A2 + 0x12]
000063FA 48C0 ext.l D0
000063FC 4480 neg.l D0
000063FE 3F00 move.w -[A7], D0
00006400 302A 0010 move.w D0, [A2 + 0x10]
00006404 48C0 ext.l D0
00006406 4480 neg.l D0
00006408 3F00 move.w -[A7], D0
0000640A A8E0 syscall OffsetRgn/OfsetRgn
label0000640C:
0000640C 2F0B move.l -[A7], A3
0000640E 2F0A move.l -[A7], A2
00006410 4EBA 0034 jsr [PC + 0x34 /* 00006446 */]
00006414 4480 neg.l D0
00006416 322A 0012 move.w D1, [A2 + 0x12]
0000641A 48C1 ext.l D1
0000641C D280 add.l D1, D0
0000641E 584F addq.w A7, 4
00006420 3F01 move.w -[A7], D1
00006422 2F0A move.l -[A7], A2
00006424 4EBA 003E jsr [PC + 0x3E /* 00006464 */]
00006428 4480 neg.l D0
0000642A 322A 0010 move.w D1, [A2 + 0x10]
0000642E 48C1 ext.l D1
00006430 D280 add.l D1, D0
00006432 584F addq.w A7, 4
00006434 3F01 move.w -[A7], D1
00006436 A8E0 syscall OffsetRgn/OfsetRgn
00006438 2F0B move.l -[A7], A3
0000643A A927 syscall InvalRgn
0000643C 2F0B move.l -[A7], A3
0000643E A8D9 syscall DisposRgn/DisposeRgn
label00006440:
00006440 4CDF 0C00 movem.l A2,A3, [A7]+
00006444 4E75 rts
fn00006446:
00006446 206F 0004 movea.l A0, [A7 + 0x4]
0000644A 4AA8 0096 tst.l [A0 + 0x96]
0000644E 6604 bne +0x6 /* 00006454 */
00006450 7000 moveq.l D0, 0x00
00006452 600E bra +0x10 /* 00006462 */
label00006454:
00006454 206F 0004 movea.l A0, [A7 + 0x4]
00006458 2F28 0096 move.l -[A7], [A0 + 0x96]
0000645C 4EBA B7AC jsr [PC - 0x4854 /* 00001C0A */]
00006460 584F addq.w A7, 4
label00006462:
00006462 4E75 rts
fn00006464:
00006464 206F 0004 movea.l A0, [A7 + 0x4]
00006468 4AA8 009A tst.l [A0 + 0x9A]
0000646C 6604 bne +0x6 /* 00006472 */
0000646E 7000 moveq.l D0, 0x00
00006470 600E bra +0x10 /* 00006480 */
label00006472:
00006472 206F 0004 movea.l A0, [A7 + 0x4]
00006476 2F28 009A move.l -[A7], [A0 + 0x9A]
0000647A 4EBA B78E jsr [PC - 0x4872 /* 00001C0A */]
0000647E 584F addq.w A7, 4
label00006480:
00006480 4E75 rts
fn00006482:
00006482 4FEF FFF0 lea.l A7, [A7 - 0x10]
00006486 206F 0020 movea.l A0, [A7 + 0x20]
0000648A 2F50 0008 move.l [A7 + 0x8], [A0]
0000648E 2F68 0004 000C move.l [A7 + 0xC], [A0 + 0x4]
00006494 2F2F 001C move.l -[A7], [A7 + 0x1C]
00006498 486F 0004 pea.l [A7 + 0x4]
0000649C 486F 0010 pea.l [A7 + 0x10]
000064A0 2F2F 0024 move.l -[A7], [A7 + 0x24]
000064A4 2F2F 0024 move.l -[A7], [A7 + 0x24]
000064A8 4EBA F3D2 jsr [PC - 0xC2E /* 0000587C */]
000064AC 42A7 clr.l -[A7]
000064AE 4EAD DD50 jsr [A5 - 0x22B0]
000064B2 486F 0018 pea.l [A7 + 0x18]
000064B6 2F2F 0030 move.l -[A7], [A7 + 0x30]
000064BA 4EBA 01BE jsr [PC + 0x1BE /* 0000667A */]
000064BE 486F 0028 pea.l [A7 + 0x28]
000064C2 4EBA 0B18 jsr [PC + 0xB18 /* 00006FDC */]
000064C6 4EAD DD58 jsr [A5 - 0x22A8]
000064CA 4AAF 0048 tst.l [A7 + 0x48]
000064CE 4FEF 0024 lea.l A7, [A7 + 0x24]
000064D2 670E beq +0x10 /* 000064E2 */
000064D4 206F 0024 movea.l A0, [A7 + 0x24]
000064D8 20AF 0008 move.l [A0], [A7 + 0x8]
000064DC 216F 000C 0004 move.l [A0 + 0x4], [A7 + 0xC]
label000064E2:
000064E2 4FEF 0010 lea.l A7, [A7 + 0x10]
000064E6 4E75 rts
fn000064E8:
000064E8 4A6D B48A tst.w [A5 - 0x4B76]
000064EC 6714 beq +0x16 /* 00006502 */
000064EE 2F2F 000C move.l -[A7], [A7 + 0xC]
000064F2 2F2F 000C move.l -[A7], [A7 + 0xC]
000064F6 2F2F 000C move.l -[A7], [A7 + 0xC]
000064FA 4EBA 0008 jsr [PC + 0x8 /* 00006504 */]
000064FE 4FEF 000C lea.l A7, [A7 + 0xC]
label00006502:
00006502 4E75 rts
fn00006504:
00006504 48E7 0038 movem.l -[A7], A2,A3,A4
00006508 514F subq.w A7, 8
0000650A 246F 0018 movea.l A2, [A7 + 0x18]
0000650E 286F 001C movea.l A4, [A7 + 0x1C]
00006512 2F2A 0048 move.l -[A7], [A2 + 0x48]
00006516 4EAD F670 jsr [A5 - 0x990]
0000651A 2648 movea.l A3, A0
0000651C 2008 move.l D0, A0
0000651E 584F addq.w A7, 4
00006520 674E beq +0x50 /* 00006570 */
00006522 4227 clr.b -[A7]
00006524 486F 0002 pea.l [A7 + 0x2]
00006528 2F0C move.l -[A7], A4
0000652A 2F0A move.l -[A7], A2
0000652C 4EBA E6A2 jsr [PC - 0x195E /* 00004BD0 */]
00006530 486F 000E pea.l [A7 + 0xE]
00006534 4EAD DD50 jsr [A5 - 0x22B0]
00006538 42A7 clr.l -[A7]
0000653A 42A7 clr.l -[A7]
0000653C 2F0B move.l -[A7], A3
0000653E 4EAD F640 jsr [A5 - 0x9C0]
00006542 4EAD DD58 jsr [A5 - 0x22A8]
00006546 4AAF 003E tst.l [A7 + 0x3E]
0000654A 4FEF 001E lea.l A7, [A7 + 0x1E]
0000654E 6714 beq +0x16 /* 00006564 */
00006550 4878 0001 push.l 0x1
00006554 2F2C 00A2 move.l -[A7], [A4 + 0xA2]
00006558 2F2A 0048 move.l -[A7], [A2 + 0x48]
0000655C 4EAD E5F8 jsr [A5 - 0x1A08]
00006560 4FEF 000C lea.l A7, [A7 + 0xC]
label00006564:
00006564 1F3C 0002 move.b -[A7], 0x2
00006568 2F0A move.l -[A7], A2
0000656A 4EBA DB6E jsr [PC - 0x2492 /* 000040DA */]
0000656E 5C4F addq.w A7, 6
label00006570:
00006570 504F addq.w A7, 8
00006572 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00006576 4E75 rts
fn00006578:
00006578 48E7 103A movem.l -[A7], D3,A2,A3,A4,A6
0000657C 266F 0018 movea.l A3, [A7 + 0x18]
00006580 1F3C 0001 move.b -[A7], 0x1
00006584 2F2B 0048 move.l -[A7], [A3 + 0x48]
00006588 4EAD E818 jsr [A5 - 0x17E8]
0000658C 2C48 movea.l A6, A0
0000658E 1F3C 0007 move.b -[A7], 0x7
00006592 2F2B 0048 move.l -[A7], [A3 + 0x48]
00006596 4EAD E818 jsr [A5 - 0x17E8]
0000659A 2848 movea.l A4, A0
0000659C 2F2F 002C move.l -[A7], [A7 + 0x2C]
000065A0 2F2F 002C move.l -[A7], [A7 + 0x2C]
000065A4 2F0B move.l -[A7], A3
000065A6 4EBA FF5C jsr [PC - 0xA4 /* 00006504 */]
000065AA 3014 move.w D0, [A4]
000065AC 48C0 ext.l D0
000065AE 4A80 tst.l D0
000065B0 4FEF 0018 lea.l A7, [A7 + 0x18]
000065B4 6D36 blt +0x38 /* 000065EC */
000065B6 2F2B 0048 move.l -[A7], [A3 + 0x48]
000065BA 4EAD F690 jsr [A5 - 0x970]
000065BE 2448 movea.l A2, A0
000065C0 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
000065C4 301F move.w D0, [A7]+
000065C6 3600 move.w D3, D0
000065C8 544F addq.w A7, 2
000065CA 6610 bne +0x12 /* 000065DC */
000065CC 2F0A move.l -[A7], A2
000065CE 2F16 move.l -[A7], [A6]
000065D0 3F14 move.w -[A7], [A4]
000065D2 4EAD E1D8 jsr [A5 - 0x1E28]
000065D6 3600 move.w D3, D0
000065D8 4FEF 000A lea.l A7, [A7 + 0xA]
label000065DC:
000065DC 4A43 tst.w D3
000065DE 670C beq +0xE /* 000065EC */
000065E0 3F03 move.w -[A7], D3
000065E2 3F3C 0005 move.w -[A7], 0x5
000065E6 4EAD DE98 jsr [A5 - 0x2168]
000065EA 584F addq.w A7, 4
label000065EC:
000065EC 4AAF 0024 tst.l [A7 + 0x24]
000065F0 670A beq +0xC /* 000065FC */
000065F2 2F2B 0048 move.l -[A7], [A3 + 0x48]
000065F6 4EAD F688 jsr [A5 - 0x978]
000065FA 584F addq.w A7, 4
label000065FC:
000065FC 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
00006600 4E75 rts
fn00006602:
00006602 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00006606 594F subq.w A7, 4
00006608 266F 0018 movea.l A3, [A7 + 0x18]
0000660C 4297 clr.l [A7]
0000660E 1F3C 0001 move.b -[A7], 0x1
00006612 2F2B 0048 move.l -[A7], [A3 + 0x48]
00006616 4EAD E818 jsr [A5 - 0x17E8]
0000661A 2848 movea.l A4, A0
0000661C 1F3C 0007 move.b -[A7], 0x7
00006620 2F2B 0048 move.l -[A7], [A3 + 0x48]
00006624 4EAD E818 jsr [A5 - 0x17E8]
00006628 2448 movea.l A2, A0
0000662A 3012 move.w D0, [A2]
0000662C 48C0 ext.l D0
0000662E 4A80 tst.l D0
00006630 4FEF 000C lea.l A7, [A7 + 0xC]
00006634 6D3C blt +0x3E /* 00006672 */
00006636 4857 pea.l [A7]
00006638 2F14 move.l -[A7], [A4]
0000663A 3F12 move.w -[A7], [A2]
0000663C 4EAD E1D0 jsr [A5 - 0x1E30]
00006640 3600 move.w D3, D0
00006642 4FEF 000A lea.l A7, [A7 + 0xA]
00006646 6612 bne +0x14 /* 0000665A */
00006648 4A97 tst.l [A7]
0000664A 6726 beq +0x28 /* 00006672 */
0000664C 2F17 move.l -[A7], [A7]
0000664E 2F2B 0048 move.l -[A7], [A3 + 0x48]
00006652 4EAD F698 jsr [A5 - 0x968]
00006656 3600 move.w D3, D0
00006658 504F addq.w A7, 8
label0000665A:
0000665A 4A97 tst.l [A7]
0000665C 6704 beq +0x6 /* 00006662 */
0000665E 2057 movea.l A0, [A7]
00006660 A023 syscall DisposHandle/DisposeHandle
label00006662:
00006662 4A43 tst.w D3
00006664 670C beq +0xE /* 00006672 */
00006666 3F03 move.w -[A7], D3
00006668 3F3C 0006 move.w -[A7], 0x6
0000666C 4EAD DE98 jsr [A5 - 0x2168]
00006670 584F addq.w A7, 4
label00006672:
00006672 584F addq.w A7, 4
00006674 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00006678 4E75 rts
fn0000667A:
0000667A 48E7 0038 movem.l -[A7], A2,A3,A4
0000667E 286F 0010 movea.l A4, [A7 + 0x10]
00006682 266F 0014 movea.l A3, [A7 + 0x14]
00006686 594F subq.w A7, 4
00006688 A8D8 syscall NewRgn
0000668A 205F movea.l A0, [A7]+
0000668C 2448 movea.l A2, A0
0000668E 2008 move.l D0, A0
00006690 660A bne +0xC /* 0000669C */
00006692 2F0B move.l -[A7], A3
00006694 A87B syscall ClipRect
00006696 4CDF 1C00 movem.l A2,A3,A4, [A7]+
0000669A 4E75 rts
label0000669C:
0000669C 2F0A move.l -[A7], A2
0000669E 2F0B move.l -[A7], A3
000066A0 A8DF syscall RectRgn
000066A2 4A6D B48A tst.w [A5 - 0x4B76]
000066A6 671E beq +0x20 /* 000066C6 */
000066A8 42A7 clr.l -[A7]
000066AA 2F2C 0048 move.l -[A7], [A4 + 0x48]
000066AE 4EAD F678 jsr [A5 - 0x988]
000066B2 2648 movea.l A3, A0
000066B4 2008 move.l D0, A0
000066B6 504F addq.w A7, 8
000066B8 670C beq +0xE /* 000066C6 */
000066BA 2F0A move.l -[A7], A2
000066BC 2F0B move.l -[A7], A3
000066BE 2F0A move.l -[A7], A2
000066C0 A8E6 syscall DiffRgn
000066C2 2F0B move.l -[A7], A3
000066C4 A8D9 syscall DisposRgn/DisposeRgn
label000066C6:
000066C6 2F0C move.l -[A7], A4
000066C8 4EBA 098E jsr [PC + 0x98E /* 00007058 */]
000066CC 2648 movea.l A3, A0
000066CE 200B move.l D0, A3
000066D0 584F addq.w A7, 4
000066D2 670C beq +0xE /* 000066E0 */
000066D4 2F0A move.l -[A7], A2
000066D6 2F0B move.l -[A7], A3
000066D8 2F0A move.l -[A7], A2
000066DA A8E6 syscall DiffRgn
000066DC 2F0B move.l -[A7], A3
000066DE A8D9 syscall DisposRgn/DisposeRgn
label000066E0:
000066E0 2F0A move.l -[A7], A2
000066E2 A879 syscall SetClip
000066E4 2F0A move.l -[A7], A2
000066E6 A8D9 syscall DisposRgn/DisposeRgn
000066E8 4CDF 1C00 movem.l A2,A3,A4, [A7]+
000066EC 4E75 rts
fn000066EE:
000066EE 2F0A move.l -[A7], A2
000066F0 514F subq.w A7, 8
000066F2 246F 0010 movea.l A2, [A7 + 0x10]
000066F6 4A6D B48A tst.w [A5 - 0x4B76]
000066FA 672A beq +0x2C /* 00006726 */
000066FC 4227 clr.b -[A7]
000066FE 486F 0002 pea.l [A7 + 0x2]
00006702 2F2F 001A move.l -[A7], [A7 + 0x1A]
00006706 2F0A move.l -[A7], A2
00006708 4EBA E4C6 jsr [PC - 0x1B3A /* 00004BD0 */]
0000670C 486F 000E pea.l [A7 + 0xE]
00006710 2F0A move.l -[A7], A2
00006712 4EBA 09B4 jsr [PC + 0x9B4 /* 000070C8 */]
00006716 2F2A 0048 move.l -[A7], [A2 + 0x48]
0000671A 4EAD F638 jsr [A5 - 0x9C8]
0000671E 4EAD DD58 jsr [A5 - 0x22A8]
00006722 4FEF 001A lea.l A7, [A7 + 0x1A]
label00006726:
00006726 504F addq.w A7, 8
00006728 245F movea.l A2, [A7]+
0000672A 4E75 rts
0000672C 48E7 003A movem.l -[A7], A2,A3,A4,A6
00006730 514F subq.w A7, 8
00006732 2C6F 001C movea.l A6, [A7 + 0x1C]
00006736 286F 0020 movea.l A4, [A7 + 0x20]
0000673A 4227 clr.b -[A7]
0000673C 4878 FF9C push.l 0xFF9C
00006740 2F0E move.l -[A7], A6
00006742 4EAD E830 jsr [A5 - 0x17D0]
00006746 2448 movea.l A2, A0
00006748 200A move.l D0, A2
0000674A 4FEF 000A lea.l A7, [A7 + 0xA]
0000674E 673A beq +0x3C /* 0000678A */
00006750 4AAA 0050 tst.l [A2 + 0x50]
00006754 6734 beq +0x36 /* 0000678A */
00006756 594F subq.w A7, 4
00006758 A8D8 syscall NewRgn
0000675A 205F movea.l A0, [A7]+
0000675C 2648 movea.l A3, A0
0000675E 2008 move.l D0, A0
00006760 6724 beq +0x26 /* 00006786 */
00006762 206A 0050 movea.l A0, [A2 + 0x50]
00006766 2050 movea.l A0, [A0]
00006768 2EA8 0018 move.l [A7], [A0 + 0x18]
0000676C 2F68 001C 0004 move.l [A7 + 0x4], [A0 + 0x1C]
00006772 2F0B move.l -[A7], A3
00006774 486F 0004 pea.l [A7 + 0x4]
00006778 A8DF syscall RectRgn
0000677A 2F0C move.l -[A7], A4
0000677C 2F0B move.l -[A7], A3
0000677E 2F0C move.l -[A7], A4
00006780 A8E4 syscall SectRgn
00006782 2F0B move.l -[A7], A3
00006784 A8D9 syscall DisposRgn/DisposeRgn
label00006786:
00006786 2F0C move.l -[A7], A4
00006788 A927 syscall InvalRgn
label0000678A:
0000678A 1F3C 0002 move.b -[A7], 0x2
0000678E 42A7 clr.l -[A7]
00006790 2F0E move.l -[A7], A6
00006792 4EAD E830 jsr [A5 - 0x17D0]
00006796 4FEF 0012 lea.l A7, [A7 + 0x12]
0000679A 4CDF 5C00 movem.l A2,A3,A4,A6, [A7]+
0000679E 4E75 rts
000067A0 48E7 1C3A movem.l -[A7], D3,D4,D5,A2,A3,A4,A6
000067A4 594F subq.w A7, 4
000067A6 2C6F 0028 movea.l A6, [A7 + 0x28]
000067AA 286F 002C movea.l A4, [A7 + 0x2C]
000067AE 7A00 moveq.l D5, 0x00
000067B0 4857 pea.l [A7]
000067B2 A874 syscall GetPort
000067B4 4227 clr.b -[A7]
000067B6 4878 FF9C push.l 0xFF9C
000067BA 2F2F 0006 move.l -[A7], [A7 + 0x6]
000067BE 4EAD E830 jsr [A5 - 0x17D0]
000067C2 2648 movea.l A3, A0
000067C4 200B move.l D0, A3
000067C6 4FEF 000A lea.l A7, [A7 + 0xA]
000067CA 6700 011A beq +0x11C /* 000068E6 */
000067CE 4AAB 0050 tst.l [A3 + 0x50]
000067D2 6700 0112 beq +0x114 /* 000068E6 */
000067D6 2F2B 0050 move.l -[A7], [A3 + 0x50]
000067DA 4EAD DD80 jsr [A5 - 0x2280]
000067DE 2448 movea.l A2, A0
000067E0 4AAA 0096 tst.l [A2 + 0x96]
000067E4 584F addq.w A7, 4
000067E6 6700 00F4 beq +0xF6 /* 000068DC */
000067EA 4AAA 009A tst.l [A2 + 0x9A]
000067EE 6700 00EC beq +0xEE /* 000068DC */
000067F2 302F 0026 move.w D0, [A7 + 0x26]
000067F6 B06E 0002 cmp.w D0, [A6 + 0x2]
000067FA 6C04 bge +0x6 /* 00006800 */
000067FC 76EE moveq.l D3, 0xFFFFFFEE
000067FE 6010 bra +0x12 /* 00006810 */
label00006800:
00006800 302F 0026 move.w D0, [A7 + 0x26]
00006804 B06E 0006 cmp.w D0, [A6 + 0x6]
00006808 6F04 ble +0x6 /* 0000680E */
0000680A 7612 moveq.l D3, 0x12
0000680C 6002 bra +0x4 /* 00006810 */
label0000680E:
0000680E 7600 moveq.l D3, 0x00
label00006810:
00006810 302F 0024 move.w D0, [A7 + 0x24]
00006814 B056 cmp.w D0, [A6]
00006816 6C04 bge +0x6 /* 0000681C */
00006818 78EE moveq.l D4, 0xFFFFFFEE
0000681A 6010 bra +0x12 /* 0000682C */
label0000681C:
0000681C 302F 0024 move.w D0, [A7 + 0x24]
00006820 B06E 0004 cmp.w D0, [A6 + 0x4]
00006824 6F04 ble +0x6 /* 0000682A */
00006826 7812 moveq.l D4, 0x12
00006828 6002 bra +0x4 /* 0000682C */
label0000682A:
0000682A 7800 moveq.l D4, 0x00
label0000682C:
0000682C 4A83 tst.l D3
0000682E 670E beq +0x10 /* 0000683E */
00006830 2F03 move.l -[A7], D3
00006832 2F2A 0096 move.l -[A7], [A2 + 0x96]
00006836 4EBA EE44 jsr [PC - 0x11BC /* 0000567C */]
0000683A 2600 move.l D3, D0
0000683C 504F addq.w A7, 8
label0000683E:
0000683E 4A84 tst.l D4
00006840 670E beq +0x10 /* 00006850 */
00006842 2F04 move.l -[A7], D4
00006844 2F2A 009A move.l -[A7], [A2 + 0x9A]
00006848 4EBA EE32 jsr [PC - 0x11CE /* 0000567C */]
0000684C 2800 move.l D4, D0
0000684E 504F addq.w A7, 8
label00006850:
00006850 4A83 tst.l D3
00006852 6606 bne +0x8 /* 0000685A */
00006854 4A84 tst.l D4
00006856 6700 0084 beq +0x86 /* 000068DC */
label0000685A:
0000685A 200C move.l D0, A4
0000685C 6704 beq +0x6 /* 00006862 */
0000685E 2F0C move.l -[A7], A4
00006860 A8D2 syscall FrameRgn
label00006862:
00006862 4EAD DD70 jsr [A5 - 0x2290]
00006866 A89E syscall PenNormal
00006868 2057 movea.l A0, [A7]
0000686A 4868 0010 pea.l [A0 + 0x10]
0000686E 4EAD DD50 jsr [A5 - 0x22B0]
00006872 2F2A 0096 move.l -[A7], [A2 + 0x96]
00006876 4EBA B392 jsr [PC - 0x4C6E /* 00001C0A */]
0000687A D083 add.l D0, D3
0000687C 584F addq.w A7, 4
0000687E 2F00 move.l -[A7], D0
00006880 2F2A 0096 move.l -[A7], [A2 + 0x96]
00006884 4EBA B3A8 jsr [PC - 0x4C58 /* 00001C2E */]
00006888 2F2A 009A move.l -[A7], [A2 + 0x9A]
0000688C 4EBA B37C jsr [PC - 0x4C84 /* 00001C0A */]
00006890 D084 add.l D0, D4
00006892 584F addq.w A7, 4
00006894 2F00 move.l -[A7], D0
00006896 2F2A 009A move.l -[A7], [A2 + 0x9A]
0000689A 4EBA B392 jsr [PC - 0x4C6E /* 00001C2E */]
0000689E 4EAD DD58 jsr [A5 - 0x22A8]
000068A2 4878 0001 push.l 0x1
000068A6 2004 move.l D0, D4
000068A8 4480 neg.l D0
000068AA 2F00 move.l -[A7], D0
000068AC 2003 move.l D0, D3
000068AE 4480 neg.l D0
000068B0 2F00 move.l -[A7], D0
000068B2 2F0A move.l -[A7], A2
000068B4 2F0B move.l -[A7], A3
000068B6 4EBA EE0E jsr [PC - 0x11F2 /* 000056C6 */]
000068BA 4EAD DD78 jsr [A5 - 0x2288]
000068BE 200C move.l D0, A4
000068C0 4FEF 0028 lea.l A7, [A7 + 0x28]
000068C4 6704 beq +0x6 /* 000068CA */
000068C6 2F0C move.l -[A7], A4
000068C8 A8D2 syscall FrameRgn
label000068CA:
000068CA 2A03 move.l D5, D3
000068CC 4485 neg.l D5
000068CE 7200 moveq.l D1, 0x00
000068D0 3205 move.w D1, D5
000068D2 2A04 move.l D5, D4
000068D4 4485 neg.l D5
000068D6 7410 moveq.l D2, 0x10
000068D8 E5AD lsl D5, D2
000068DA 8A81 or.l D5, D1
label000068DC:
000068DC 2F2B 0050 move.l -[A7], [A3 + 0x50]
000068E0 4EAD DD88 jsr [A5 - 0x2278]
000068E4 584F addq.w A7, 4
label000068E6:
000068E6 1F3C 0002 move.b -[A7], 0x2
000068EA 42A7 clr.l -[A7]
000068EC 2F2F 0006 move.l -[A7], [A7 + 0x6]
000068F0 4EAD E830 jsr [A5 - 0x17D0]
000068F4 2005 move.l D0, D5
000068F6 4FEF 000E lea.l A7, [A7 + 0xE]
000068FA 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
000068FE 4E75 rts
fn00006900:
00006900 48E7 103A movem.l -[A7], D3,A2,A3,A4,A6
00006904 4FEF FFEE lea.l A7, [A7 - 0x12]
00006908 266F 002A movea.l A3, [A7 + 0x2A]
0000690C 2C6F 002E movea.l A6, [A7 + 0x2E]
00006910 162F 0032 move.b D3, [A7 + 0x32]
00006914 246F 0034 movea.l A2, [A7 + 0x34]
00006918 2F2B 0048 move.l -[A7], [A3 + 0x48]
0000691C 4EAD E848 jsr [A5 - 0x17B8]
00006920 5300 subq.b D0, 1
00006922 584F addq.w A7, 4
00006924 6614 bne +0x16 /* 0000693A */
00006926 24AE 0020 move.l [A2], [A6 + 0x20]
0000692A 356E 0024 0004 move.w [A2 + 0x4], [A6 + 0x24]
00006930 4FEF 0012 lea.l A7, [A7 + 0x12]
00006934 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
00006938 4E75 rts
label0000693A:
0000693A 4AAB 0054 tst.l [A3 + 0x54]
0000693E 6676 bne +0x78 /* 000069B6 */
00006940 1F3C 0009 move.b -[A7], 0x9 /* '\t' */
00006944 2F2B 0048 move.l -[A7], [A3 + 0x48]
00006948 4EAD E818 jsr [A5 - 0x17E8]
0000694C 2848 movea.l A4, A0
0000694E 42A7 clr.l -[A7]
00006950 486F 000A pea.l [A7 + 0xA]
00006954 486F 0014 pea.l [A7 + 0x14]
00006958 486F 001E pea.l [A7 + 0x1E]
0000695C 2F14 move.l -[A7], [A4]
0000695E 3F2E 00B2 move.w -[A7], [A6 + 0xB2]
00006962 4EAD E2E8 jsr [A5 - 0x1D18]
00006966 42A7 clr.l -[A7]
00006968 486F 0020 pea.l [A7 + 0x20]
0000696C 486F 002A pea.l [A7 + 0x2A]
00006970 486F 0034 pea.l [A7 + 0x34]
00006974 2F14 move.l -[A7], [A4]
00006976 2F2B 0048 move.l -[A7], [A3 + 0x48]
0000697A 4EAD E8B0 jsr [A5 - 0x1750]
0000697E 7000 moveq.l D0, 0x00
00006980 1003 move.b D0, D3
00006982 4FEF 0034 lea.l A7, [A7 + 0x34]
00006986 4A80 tst.l D0
00006988 670A beq +0xC /* 00006994 */
0000698A 5380 subq.l D0, 1
0000698C 6712 beq +0x14 /* 000069A0 */
0000698E 5380 subq.l D0, 1
00006990 671A beq +0x1C /* 000069AC */
00006992 6044 bra +0x46 /* 000069D8 */
label00006994:
00006994 24AF 000C move.l [A2], [A7 + 0xC]
00006998 356F 0010 0004 move.w [A2 + 0x4], [A7 + 0x10]
0000699E 6038 bra +0x3A /* 000069D8 */
label000069A0:
000069A0 24AF 0006 move.l [A2], [A7 + 0x6]
000069A4 356F 000A 0004 move.w [A2 + 0x4], [A7 + 0xA]
000069AA 602C bra +0x2E /* 000069D8 */
label000069AC:
000069AC 2497 move.l [A2], [A7]
000069AE 356F 0004 0004 move.w [A2 + 0x4], [A7 + 0x4]
000069B4 6022 bra +0x24 /* 000069D8 */
label000069B6:
000069B6 0C03 0001 cmpi.b D3, 0x1
000069BA 660C bne +0xE /* 000069C8 */
000069BC 24AE 0036 move.l [A2], [A6 + 0x36]
000069C0 356E 003A 0004 move.w [A2 + 0x4], [A6 + 0x3A]
000069C6 6010 bra +0x12 /* 000069D8 */
label000069C8:
000069C8 357C FFFF 0004 move.w [A2 + 0x4], 0xFFFF
000069CE 357C FFFF 0002 move.w [A2 + 0x2], 0xFFFF
000069D4 34BC FFFF move.w [A2], 0xFFFF
label000069D8:
000069D8 4FEF 0012 lea.l A7, [A7 + 0x12]
000069DC 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
000069E0 4E75 rts
fn000069E2:
000069E2 5D4F subq.w A7, 6
000069E4 7000 moveq.l D0, 0x00
000069E6 102D 81A0 move.b D0, [A5 - 0x7E60]
000069EA 7202 moveq.l D1, 0x02
000069EC B081 cmp.l D0, D1
000069EE 6D1C blt +0x1E /* 00006A0C */
000069F0 4857 pea.l [A7]
000069F2 1F2F 0016 move.b -[A7], [A7 + 0x16]
000069F6 2F2F 0014 move.l -[A7], [A7 + 0x14]
000069FA 2F2F 0014 move.l -[A7], [A7 + 0x14]
000069FE 4EBA FF00 jsr [PC - 0x100 /* 00006900 */]
00006A02 486F 000E pea.l [A7 + 0xE]
00006A06 AA15 syscall RGBBackColor
00006A08 4FEF 000E lea.l A7, [A7 + 0xE]
label00006A0C:
00006A0C 5C4F addq.w A7, 6
00006A0E 4E75 rts
fn00006A10:
00006A10 48E7 183A movem.l -[A7], D3,D4,A2,A3,A4,A6
00006A14 2C6F 001C movea.l A6, [A7 + 0x1C]
00006A18 362F 0020 move.w D3, [A7 + 0x20]
00006A1C 282F 0022 move.l D4, [A7 + 0x22]
00006A20 2F2E 0048 move.l -[A7], [A6 + 0x48]
00006A24 4EAD E848 jsr [A5 - 0x17B8]
00006A28 5300 subq.b D0, 1
00006A2A 584F addq.w A7, 4
00006A2C 666E bne +0x70 /* 00006A9C */
00006A2E 99CC sub.l A4, A4
00006A30 97CB sub.l A3, A3
00006A32 594F subq.w A7, 4
00006A34 206D 1342 movea.l A0, [A5 + 0x1342 /* export_612 */]
00006A38 4E90 jsr [A0]
00006A3A 205F movea.l A0, [A7]+
00006A3C 2448 movea.l A2, A0
00006A3E 603E bra +0x40 /* 00006A7E */
label00006A40:
00006A40 302A 006C move.w D0, [A2 + 0x6C]
00006A44 B06D B416 cmp.w D0, [A5 - 0x4BEA]
00006A48 6630 bne +0x32 /* 00006A7A */
00006A4A 2F0A move.l -[A7], A2
00006A4C 4EAD E848 jsr [A5 - 0x17B8]
00006A50 4A00 tst.b D0
00006A52 584F addq.w A7, 4
00006A54 6616 bne +0x18 /* 00006A6C */
00006A56 1F3C 0006 move.b -[A7], 0x6
00006A5A 2F0A move.l -[A7], A2
00006A5C 4EAD E818 jsr [A5 - 0x17E8]
00006A60 B650 cmp.w D3, [A0]
00006A62 5C4F addq.w A7, 6
00006A64 671C beq +0x1E /* 00006A82 */
00006A66 200B move.l D0, A3
00006A68 6602 bne +0x4 /* 00006A6C */
00006A6A 264A movea.l A3, A2
label00006A6C:
00006A6C 2F0A move.l -[A7], A2
00006A6E 4EAD E848 jsr [A5 - 0x17B8]
00006A72 5500 subq.b D0, 2
00006A74 584F addq.w A7, 4
00006A76 6602 bne +0x4 /* 00006A7A */
00006A78 284A movea.l A4, A2
label00006A7A:
00006A7A 246A 0090 movea.l A2, [A2 + 0x90]
label00006A7E:
00006A7E 200A move.l D0, A2
00006A80 66BE bne -0x40 /* 00006A40 */
label00006A82:
00006A82 200A move.l D0, A2
00006A84 6608 bne +0xA /* 00006A8E */
00006A86 244C movea.l A2, A4
00006A88 200C move.l D0, A4
00006A8A 6602 bne +0x4 /* 00006A8E */
00006A8C 244B movea.l A2, A3
label00006A8E:
00006A8E 200A move.l D0, A2
00006A90 671C beq +0x1E /* 00006AAE */
00006A92 2F0A move.l -[A7], A2
00006A94 4EBA ABA0 jsr [PC - 0x5460 /* 00001636 */]
00006A98 584F addq.w A7, 4
00006A9A 6012 bra +0x14 /* 00006AAE */
label00006A9C:
00006A9C 4AAE 0054 tst.l [A6 + 0x54]
00006AA0 6608 bne +0xA /* 00006AAA */
00006AA2 7000 moveq.l D0, 0x00
00006AA4 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
00006AA8 4E75 rts
label00006AAA:
00006AAA 246E 0048 movea.l A2, [A6 + 0x48]
label00006AAE:
00006AAE 200A move.l D0, A2
00006AB0 6608 bne +0xA /* 00006ABA */
00006AB2 7000 moveq.l D0, 0x00
00006AB4 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
00006AB8 4E75 rts
label00006ABA:
00006ABA 2F2E 0050 move.l -[A7], [A6 + 0x50]
00006ABE 4EAD DD88 jsr [A5 - 0x2278]
00006AC2 4227 clr.b -[A7]
00006AC4 4878 FF9C push.l 0xFF9C
00006AC8 2F0A move.l -[A7], A2
00006ACA 4EAD E830 jsr [A5 - 0x17D0]
00006ACE 2244 movea.l A1, D4
00006AD0 2288 move.l [A1], A0
00006AD2 2044 movea.l A0, D4
00006AD4 2050 movea.l A0, [A0]
00006AD6 2F28 0050 move.l -[A7], [A0 + 0x50]
00006ADA 4EAD DD80 jsr [A5 - 0x2280]
00006ADE 226F 0038 movea.l A1, [A7 + 0x38]
00006AE2 2288 move.l [A1], A0
00006AE4 7001 moveq.l D0, 0x01
00006AE6 4FEF 0012 lea.l A7, [A7 + 0x12]
00006AEA 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
00006AEE 4E75 rts
fn00006AF0:
00006AF0 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00006AF4 286F 0014 movea.l A4, [A7 + 0x14]
00006AF8 246F 0018 movea.l A2, [A7 + 0x18]
00006AFC 2F2A 00A2 move.l -[A7], [A2 + 0xA2]
00006B00 2F2C 0048 move.l -[A7], [A4 + 0x48]
00006B04 4EAD E5D8 jsr [A5 - 0x1A28]
00006B08 3600 move.w D3, D0
00006B0A 256A 0008 0010 move.l [A2 + 0x10], [A2 + 0x8]
00006B10 256A 000C 0014 move.l [A2 + 0x14], [A2 + 0xC]
00006B16 486A 0010 pea.l [A2 + 0x10]
00006B1A 4267 clr.w -[A7]
00006B1C 3F03 move.w -[A7], D3
00006B1E A8A8 syscall OffsetRect
00006B20 4AAC 0054 tst.l [A4 + 0x54]
00006B24 504F addq.w A7, 8
00006B26 665C bne +0x5E /* 00006B84 */
00006B28 266C 0048 movea.l A3, [A4 + 0x48]
00006B2C 508B addq.l A3, 8
00006B2E 508B addq.l A3, 8
00006B30 302B 0006 move.w D0, [A3 + 0x6]
00006B34 48C0 ext.l D0
00006B36 322A 00B8 move.w D1, [A2 + 0xB8]
00006B3A 48C1 ext.l D1
00006B3C 342A 0016 move.w D2, [A2 + 0x16]
00006B40 48C2 ext.l D2
00006B42 D481 add.l D2, D1
00006B44 B480 cmp.l D2, D0
00006B46 6F12 ble +0x14 /* 00006B5A */
00006B48 302A 00B8 move.w D0, [A2 + 0xB8]
00006B4C 48C0 ext.l D0
00006B4E 322B 0006 move.w D1, [A3 + 0x6]
00006B52 48C1 ext.l D1
00006B54 9280 sub.l D1, D0
00006B56 3541 0016 move.w [A2 + 0x16], D1
label00006B5A:
00006B5A 302B 0004 move.w D0, [A3 + 0x4]
00006B5E 48C0 ext.l D0
00006B60 322A 00BA move.w D1, [A2 + 0xBA]
00006B64 48C1 ext.l D1
00006B66 342A 0014 move.w D2, [A2 + 0x14]
00006B6A 48C2 ext.l D2
00006B6C D481 add.l D2, D1
00006B6E B480 cmp.l D2, D0
00006B70 6F12 ble +0x14 /* 00006B84 */
00006B72 302A 00BA move.w D0, [A2 + 0xBA]
00006B76 48C0 ext.l D0
00006B78 322B 0004 move.w D1, [A3 + 0x4]
00006B7C 48C1 ext.l D1
00006B7E 9280 sub.l D1, D0
00006B80 3541 0014 move.w [A2 + 0x14], D1
label00006B84:
00006B84 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00006B88 4E75 rts
fn00006B8A:
00006B8A 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00006B8E 514F subq.w A7, 8
00006B90 246F 0020 movea.l A2, [A7 + 0x20]
00006B94 266F 0024 movea.l A3, [A7 + 0x24]
00006B98 4AAF 0028 tst.l [A7 + 0x28]
00006B9C 6604 bne +0x6 /* 00006BA2 */
00006B9E 7000 moveq.l D0, 0x00
00006BA0 6002 bra +0x4 /* 00006BA4 */
label00006BA2:
00006BA2 7001 moveq.l D0, 0x01
label00006BA4:
00006BA4 2600 move.l D3, D0
00006BA6 302B 0002 move.w D0, [A3 + 0x2]
00006BAA 48C0 ext.l D0
00006BAC 9083 sub.l D0, D3
00006BAE 3F40 0002 move.w [A7 + 0x2], D0
00006BB2 3013 move.w D0, [A3]
00006BB4 48C0 ext.l D0
00006BB6 9083 sub.l D0, D3
00006BB8 3E80 move.w [A7], D0
00006BBA 4AAA 008E tst.l [A2 + 0x8E]
00006BBE 6728 beq +0x2A /* 00006BE8 */
00006BC0 286A 008E movea.l A4, [A2 + 0x8E]
00006BC4 2854 movea.l A4, [A4]
00006BC6 548C addq.l A4, 2
00006BC8 3F6B 0006 0006 move.w [A7 + 0x6], [A3 + 0x6]
00006BCE 3014 move.w D0, [A4]
00006BD0 48C0 ext.l D0
00006BD2 322C 0004 move.w D1, [A4 + 0x4]
00006BD6 48C1 ext.l D1
00006BD8 9280 sub.l D1, D0
00006BDA 3017 move.w D0, [A7]
00006BDC 48C0 ext.l D0
00006BDE D081 add.l D0, D1
00006BE0 3F40 0004 move.w [A7 + 0x4], D0
00006BE4 4857 pea.l [A7]
00006BE6 A928 syscall InvalRect
label00006BE8:
00006BE8 302B 0006 move.w D0, [A3 + 0x6]
00006BEC 48C0 ext.l D0
00006BEE D083 add.l D0, D3
00006BF0 3F40 0006 move.w [A7 + 0x6], D0
00006BF4 4AAA 009A tst.l [A2 + 0x9A]
00006BF8 6712 beq +0x14 /* 00006C0C */
00006BFA 206A 009A movea.l A0, [A2 + 0x9A]
00006BFE 2050 movea.l A0, [A0]
00006C00 4A28 0010 tst.b [A0 + 0x10]
00006C04 6706 beq +0x8 /* 00006C0C */
00006C06 046F 000F 0006 subi.w [A7 + 0x6], 0xF
label00006C0C:
00006C0C 302B 0004 move.w D0, [A3 + 0x4]
00006C10 48C0 ext.l D0
00006C12 D083 add.l D0, D3
00006C14 3F40 0004 move.w [A7 + 0x4], D0
00006C18 4AAA 0096 tst.l [A2 + 0x96]
00006C1C 6712 beq +0x14 /* 00006C30 */
00006C1E 206A 0096 movea.l A0, [A2 + 0x96]
00006C22 2050 movea.l A0, [A0]
00006C24 4A28 0010 tst.b [A0 + 0x10]
00006C28 6706 beq +0x8 /* 00006C30 */
00006C2A 046F 000F 0004 subi.w [A7 + 0x4], 0xF
label00006C30:
00006C30 2F2A 00A2 move.l -[A7], [A2 + 0xA2]
00006C34 206F 0020 movea.l A0, [A7 + 0x20]
00006C38 2F28 0048 move.l -[A7], [A0 + 0x48]
00006C3C 4EAD E5D8 jsr [A5 - 0x1A28]
00006C40 3600 move.w D3, D0
00006C42 B66F 0008 cmp.w D3, [A7 + 0x8]
00006C46 504F addq.w A7, 8
00006C48 6F02 ble +0x4 /* 00006C4C */
00006C4A 3E83 move.w [A7], D3
label00006C4C:
00006C4C 4857 pea.l [A7]
00006C4E A928 syscall InvalRect
00006C50 504F addq.w A7, 8
00006C52 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00006C56 4E75 rts
fn00006C58:
00006C58 48E7 103A movem.l -[A7], D3,A2,A3,A4,A6
00006C5C 262F 0018 move.l D3, [A7 + 0x18]
00006C60 246F 001C movea.l A2, [A7 + 0x1C]
00006C64 286F 0020 movea.l A4, [A7 + 0x20]
00006C68 2C6F 0024 movea.l A6, [A7 + 0x24]
00006C6C 266F 0028 movea.l A3, [A7 + 0x28]
00006C70 2043 movea.l A0, D3
00006C72 2F28 0048 move.l -[A7], [A0 + 0x48]
00006C76 4EAD E848 jsr [A5 - 0x17B8]
00006C7A 5300 subq.b D0, 1
00006C7C 584F addq.w A7, 4
00006C7E 6608 bne +0xA /* 00006C88 */
00006C80 4EBA A93A jsr [PC - 0x56C6 /* 000015BC */]
00006C84 3880 move.w [A4], D0
00006C86 6012 bra +0x14 /* 00006C9A */
label00006C88:
00006C88 302A 0012 move.w D0, [A2 + 0x12]
00006C8C 48C0 ext.l D0
00006C8E 322A 0016 move.w D1, [A2 + 0x16]
00006C92 48C1 ext.l D1
00006C94 9280 sub.l D1, D0
00006C96 5281 addq.l D1, 1
00006C98 3881 move.w [A4], D1
label00006C9A:
00006C9A 4AAA 009A tst.l [A2 + 0x9A]
00006C9E 673A beq +0x3C /* 00006CDA */
00006CA0 4AAA 0096 tst.l [A2 + 0x96]
00006CA4 6734 beq +0x36 /* 00006CDA */
00006CA6 554F subq.w A7, 2
00006CA8 2F3C 5653 434C move.l -[A7], 0x5653434C /* 'VSCL' */
00006CAE A80D syscall Count1Resources
00006CB0 301F move.w D0, [A7]+
00006CB2 661A bne +0x1C /* 00006CCE */
00006CB4 7001 moveq.l D0, 0x01
00006CB6 2740 001C move.l [A3 + 0x1C], D0
00006CBA 302A 0010 move.w D0, [A2 + 0x10]
00006CBE 48C0 ext.l D0
00006CC0 322A 0014 move.w D1, [A2 + 0x14]
00006CC4 48C1 ext.l D1
00006CC6 9280 sub.l D1, D0
00006CC8 3741 0020 move.w [A3 + 0x20], D1
00006CCC 6010 bra +0x12 /* 00006CDE */
label00006CCE:
00006CCE 7001 moveq.l D0, 0x01
00006CD0 2740 001C move.l [A3 + 0x1C], D0
00006CD4 0454 000F subi.w [A4], 0xF
00006CD8 6004 bra +0x6 /* 00006CDE */
label00006CDA:
00006CDA 42AB 001C clr.l [A3 + 0x1C]
label00006CDE:
00006CDE 2043 movea.l A0, D3
00006CE0 4AA8 0054 tst.l [A0 + 0x54]
00006CE4 6604 bne +0x6 /* 00006CEA */
00006CE6 4216 clr.b [A6]
00006CE8 6004 bra +0x6 /* 00006CEE */
label00006CEA:
00006CEA 1CBC 0001 move.b [A6], 0x1
label00006CEE:
00006CEE 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
00006CF2 4E75 rts
fn00006CF4:
00006CF4 48E7 1E3A movem.l -[A7], D3,D4,D5,D6,A2,A3,A4,A6
00006CF8 4FEF FEF6 lea.l A7, [A7 - 0x10A]
00006CFC 246F 012E movea.l A2, [A7 + 0x12E]
00006D00 286F 0136 movea.l A4, [A7 + 0x136]
00006D04 2A2F 013A move.l D5, [A7 + 0x13A]
00006D08 2C2F 013E move.l D6, [A7 + 0x13E]
00006D0C 1F3C 0006 move.b -[A7], 0x6
00006D10 2F2A 0048 move.l -[A7], [A2 + 0x48]
00006D14 4EAD E818 jsr [A5 - 0x17E8]
00006D18 3610 move.w D3, [A0]
00006D1A 202F 0138 move.l D0, [A7 + 0x138]
00006D1E 4480 neg.l D0
00006D20 2F00 move.l -[A7], D0
00006D22 3F03 move.w -[A7], D3
00006D24 4EAD E228 jsr [A5 - 0x1DD8]
00006D28 2C48 movea.l A6, A0
00006D2A 2F0E move.l -[A7], A6
00006D2C 4EAD DD80 jsr [A5 - 0x2280]
00006D30 2608 move.l D3, A0
00006D32 2043 movea.l A0, D3
00006D34 70FF moveq.l D0, 0xFFFFFFFF
label00006D36:
00006D36 5280 addq.l D0, 1
00006D38 4A18 tst.b [A0]+
00006D3A 66FA bne -0x4 /* 00006D36 */
00006D3C 2043 movea.l A0, D3
00006D3E D1C0 add.l A0, D0
00006D40 5288 addq.l A0, 1
00006D42 2648 movea.l A3, A0
00006D44 204B movea.l A0, A3
00006D46 70FF moveq.l D0, 0xFFFFFFFF
label00006D48:
00006D48 5280 addq.l D0, 1
00006D4A 4A18 tst.b [A0]+
00006D4C 66FA bne -0x4 /* 00006D48 */
00006D4E 204B movea.l A0, A3
00006D50 D1C0 add.l A0, D0
00006D52 5288 addq.l A0, 1
00006D54 2808 move.l D4, A0
00006D56 200C move.l D0, A4
00006D58 4FEF 0010 lea.l A7, [A7 + 0x10]
00006D5C 6702 beq +0x4 /* 00006D60 */
00006D5E 4294 clr.l [A4]
label00006D60:
00006D60 4AAD B2D8 tst.l [A5 - 0x4D28]
00006D64 6700 0114 beq +0x116 /* 00006E7A */
00006D68 7600 moveq.l D3, 0x00
00006D6A 486F 0100 pea.l [A7 + 0x100]
00006D6E 486F 0108 pea.l [A7 + 0x108]
00006D72 486F 0110 pea.l [A7 + 0x110]
00006D76 2F0B move.l -[A7], A3
00006D78 4EAD FF28 jsr [A5 - 0xD8]
00006D7C 2F0E move.l -[A7], A6
00006D7E 4EAD DD88 jsr [A5 - 0x2278]
00006D82 4A86 tst.l D6
00006D84 4FEF 0014 lea.l A7, [A7 + 0x14]
00006D88 6734 beq +0x36 /* 00006DBE */
00006D8A 302F 0108 move.w D0, [A7 + 0x108]
00006D8E 48C0 ext.l D0
00006D90 4A80 tst.l D0
00006D92 6F26 ble +0x28 /* 00006DBA */
00006D94 200C move.l D0, A4
00006D96 6704 beq +0x6 /* 00006D9C */
00006D98 28AA 0048 move.l [A4], [A2 + 0x48]
label00006D9C:
00006D9C 1F3C 0011 move.b -[A7], 0x11
00006DA0 2F2A 0048 move.l -[A7], [A2 + 0x48]
00006DA4 4EAD E818 jsr [A5 - 0x17E8]
00006DA8 30AF 010E move.w [A0], [A7 + 0x10E]
00006DAC 4A85 tst.l D5
00006DAE 5C4F addq.w A7, 6
00006DB0 673E beq +0x40 /* 00006DF0 */
00006DB2 2045 movea.l A0, D5
00006DB4 20AF 0104 move.l [A0], [A7 + 0x104]
00006DB8 6036 bra +0x38 /* 00006DF0 */
label00006DBA:
00006DBA 7601 moveq.l D3, 0x01
00006DBC 6032 bra +0x34 /* 00006DF0 */
label00006DBE:
00006DBE 302F 0108 move.w D0, [A7 + 0x108]
00006DC2 48C0 ext.l D0
00006DC4 4A80 tst.l D0
00006DC6 6F26 ble +0x28 /* 00006DEE */
00006DC8 42A7 clr.l -[A7]
00006DCA 4EBA A86A jsr [PC - 0x5796 /* 00001636 */]
00006DCE 2F2F 0146 move.l -[A7], [A7 + 0x146]
00006DD2 42A7 clr.l -[A7]
00006DD4 2F2F 010C move.l -[A7], [A7 + 0x10C]
00006DD8 2F2F 0114 move.l -[A7], [A7 + 0x114]
00006DDC 3F2F 011C move.w -[A7], [A7 + 0x11C]
00006DE0 2F2A 0048 move.l -[A7], [A2 + 0x48]
00006DE4 4EAD FF20 jsr [A5 - 0xE0]
00006DE8 4FEF 001A lea.l A7, [A7 + 0x1A]
00006DEC 6002 bra +0x4 /* 00006DF0 */
label00006DEE:
00006DEE 7601 moveq.l D3, 0x01
label00006DF0:
00006DF0 4A83 tst.l D3
00006DF2 6700 00B8 beq +0xBA /* 00006EAC */
00006DF6 2F2A 0048 move.l -[A7], [A2 + 0x48]
00006DFA 4EAD E848 jsr [A5 - 0x17B8]
00006DFE 5300 subq.b D0, 1
00006E00 584F addq.w A7, 4
00006E02 6612 bne +0x14 /* 00006E16 */
00006E04 42A7 clr.l -[A7]
00006E06 4EBA A82E jsr [PC - 0x57D2 /* 00001636 */]
00006E0A 2F2A 0048 move.l -[A7], [A2 + 0x48]
00006E0E 206D 134A movea.l A0, [A5 + 0x134A /* export_613 */]
00006E12 4E90 jsr [A0]
00006E14 584F addq.w A7, 4
label00006E16:
00006E16 4857 pea.l [A7]
00006E18 302D 135E move.w D0, [A5 + 0x135E]
00006E1C 48C0 ext.l D0
00006E1E 0680 0000 0081 addi.l D0, 0x81
00006E24 3F00 move.w -[A7], D0
00006E26 3F3C 001E move.w -[A7], 0x1E
00006E2A 4EAD DA4E jsr [A5 - 0x25B2]
00006E2E 554F subq.w A7, 2
00006E30 486F 0002 pea.l [A7 + 0x2]
00006E34 4267 clr.w -[A7]
00006E36 4EAD DCA8 jsr [A5 - 0x2358]
00006E3A 301F move.w D0, [A7]+
00006E3C 2F2A 0050 move.l -[A7], [A2 + 0x50]
00006E40 4EAD DD80 jsr [A5 - 0x2280]
00006E44 2648 movea.l A3, A0
00006E46 2F2A 0048 move.l -[A7], [A2 + 0x48]
00006E4A 4EAD DD40 jsr [A5 - 0x22C0]
00006E4E 4AAB 00A6 tst.l [A3 + 0xA6]
00006E52 56C0 sne D0
00006E54 4400 neg.b D0
00006E56 4880 ext.w D0
00006E58 48C0 ext.l D0
00006E5A 2F00 move.l -[A7], D0
00006E5C 486B 0010 pea.l [A3 + 0x10]
00006E60 2F0B move.l -[A7], A3
00006E62 2F0A move.l -[A7], A2
00006E64 4EBA FD24 jsr [PC - 0x2DC /* 00006B8A */]
00006E68 4EAD DD48 jsr [A5 - 0x22B8]
00006E6C 2F2A 0050 move.l -[A7], [A2 + 0x50]
00006E70 4EAD DD88 jsr [A5 - 0x2278]
00006E74 4FEF 001C lea.l A7, [A7 + 0x1C]
00006E78 6032 bra +0x34 /* 00006EAC */
label00006E7A:
00006E7A 2F05 move.l -[A7], D5
00006E7C 2F0C move.l -[A7], A4
00006E7E 4A86 tst.l D6
00006E80 6606 bne +0x8 /* 00006E88 */
00006E82 2044 movea.l A0, D4
00006E84 4A10 tst.b [A0]
00006E86 6704 beq +0x6 /* 00006E8C */
label00006E88:
00006E88 7000 moveq.l D0, 0x00
00006E8A 6002 bra +0x4 /* 00006E8E */
label00006E8C:
00006E8C 7001 moveq.l D0, 0x01
label00006E8E:
00006E8E 1F00 move.b -[A7], D0
00006E90 2F0B move.l -[A7], A3
00006E92 2F04 move.l -[A7], D4
00006E94 4878 FFFF push.l 0xFFFF
00006E98 2F03 move.l -[A7], D3
00006E9A 2F2A 0048 move.l -[A7], [A2 + 0x48]
00006E9E 4EBA 9D8C jsr [PC - 0x6274 /* 00000C2C */]
00006EA2 2F0E move.l -[A7], A6
00006EA4 4EAD DD88 jsr [A5 - 0x2278]
00006EA8 4FEF 0022 lea.l A7, [A7 + 0x22]
label00006EAC:
00006EAC 4FEF 010A lea.l A7, [A7 + 0x10A]
00006EB0 4CDF 5C78 movem.l D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
00006EB4 4E75 rts
fn00006EB6:
00006EB6 4AAD B2D8 tst.l [A5 - 0x4D28]
00006EBA 6718 beq +0x1A /* 00006ED4 */
00006EBC 302F 000C move.w D0, [A7 + 0xC]
00006EC0 48C0 ext.l D0
00006EC2 4A80 tst.l D0
00006EC4 6D0E blt +0x10 /* 00006ED4 */
00006EC6 3F2F 000C move.w -[A7], [A7 + 0xC]
00006ECA 4EAD FF08 jsr [A5 - 0xF8]
00006ECE 2B40 A842 move.l [A5 - 0x57BE], D0
00006ED2 544F addq.w A7, 2
label00006ED4:
00006ED4 2F2F 0008 move.l -[A7], [A7 + 0x8]
00006ED8 2F2F 0008 move.l -[A7], [A7 + 0x8]
00006EDC 4EAD DB74 jsr [A5 - 0x248C]
00006EE0 504F addq.w A7, 8
00006EE2 4E75 rts
fn00006EE4:
00006EE4 48E7 1C38 movem.l -[A7], D3,D4,D5,A2,A3,A4
00006EE8 286F 001C movea.l A4, [A7 + 0x1C]
00006EEC 266F 0020 movea.l A3, [A7 + 0x20]
00006EF0 2A2F 0028 move.l D5, [A7 + 0x28]
00006EF4 7600 moveq.l D3, 0x00
00006EF6 4A85 tst.l D5
00006EF8 6606 bne +0x8 /* 00006F00 */
00006EFA 246B 009A movea.l A2, [A3 + 0x9A]
00006EFE 6004 bra +0x6 /* 00006F04 */
label00006F00:
00006F00 246B 0096 movea.l A2, [A3 + 0x96]
label00006F04:
00006F04 200A move.l D0, A2
00006F06 6766 beq +0x68 /* 00006F6E */
00006F08 2F0A move.l -[A7], A2
00006F0A 4EBA ACFE jsr [PC - 0x5302 /* 00001C0A */]
00006F0E 2800 move.l D4, D0
00006F10 4AAF 0028 tst.l [A7 + 0x28]
00006F14 584F addq.w A7, 4
00006F16 6704 beq +0x6 /* 00006F1C */
00006F18 2604 move.l D3, D4
00006F1A 600E bra +0x10 /* 00006F2A */
label00006F1C:
00006F1C 2F0A move.l -[A7], A2
00006F1E 4EBA ACC6 jsr [PC - 0x533A /* 00001BE6 */]
00006F22 2204 move.l D1, D4
00006F24 9280 sub.l D1, D0
00006F26 2601 move.l D3, D1
00006F28 584F addq.w A7, 4
label00006F2A:
00006F2A 4A83 tst.l D3
00006F2C 6740 beq +0x42 /* 00006F6E */
00006F2E 2004 move.l D0, D4
00006F30 9083 sub.l D0, D3
00006F32 2F00 move.l -[A7], D0
00006F34 2F0A move.l -[A7], A2
00006F36 4EBA ACF6 jsr [PC - 0x530A /* 00001C2E */]
00006F3A 2F2C 0048 move.l -[A7], [A4 + 0x48]
00006F3E 4EAD DD40 jsr [A5 - 0x22C0]
00006F42 4878 0001 push.l 0x1
00006F46 4A85 tst.l D5
00006F48 6704 beq +0x6 /* 00006F4E */
00006F4A 7000 moveq.l D0, 0x00
00006F4C 6002 bra +0x4 /* 00006F50 */
label00006F4E:
00006F4E 2003 move.l D0, D3
label00006F50:
00006F50 2F00 move.l -[A7], D0
00006F52 4A85 tst.l D5
00006F54 6604 bne +0x6 /* 00006F5A */
00006F56 7000 moveq.l D0, 0x00
00006F58 6002 bra +0x4 /* 00006F5C */
label00006F5A:
00006F5A 2003 move.l D0, D3
label00006F5C:
00006F5C 2F00 move.l -[A7], D0
00006F5E 2F0B move.l -[A7], A3
00006F60 2F0C move.l -[A7], A4
00006F62 4EBA E762 jsr [PC - 0x189E /* 000056C6 */]
00006F66 4EAD DD48 jsr [A5 - 0x22B8]
00006F6A 4FEF 0020 lea.l A7, [A7 + 0x20]
label00006F6E:
00006F6E 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
00006F72 4E75 rts
fn00006F74:
00006F74 2F0A move.l -[A7], A2
00006F76 4AAF 0012 tst.l [A7 + 0x12]
00006F7A 660A bne +0xC /* 00006F86 */
00006F7C 206F 000C movea.l A0, [A7 + 0xC]
00006F80 2468 009A movea.l A2, [A0 + 0x9A]
00006F84 6008 bra +0xA /* 00006F8E */
label00006F86:
00006F86 206F 000C movea.l A0, [A7 + 0xC]
00006F8A 2468 0096 movea.l A2, [A0 + 0x96]
label00006F8E:
00006F8E 200A move.l D0, A2
00006F90 672E beq +0x30 /* 00006FC0 */
00006F92 206F 0008 movea.l A0, [A7 + 0x8]
00006F96 2F28 0048 move.l -[A7], [A0 + 0x48]
00006F9A 4EAD DD40 jsr [A5 - 0x22C0]
00006F9E 0C2F 000B 0014 cmpi.b [A7 + 0x14], 0xB
00006FA4 6704 beq +0x6 /* 00006FAA */
00006FA6 7017 moveq.l D0, 0x17
00006FA8 6002 bra +0x4 /* 00006FAC */
label00006FAA:
00006FAA 7016 moveq.l D0, 0x16
label00006FAC:
00006FAC 7200 moveq.l D1, 0x00
00006FAE 1200 move.b D1, D0
00006FB0 3F01 move.w -[A7], D1
00006FB2 2F0A move.l -[A7], A2
00006FB4 4EBA EBF6 jsr [PC - 0x140A /* 00005BAC */]
00006FB8 4EAD DD48 jsr [A5 - 0x22B8]
00006FBC 4FEF 000A lea.l A7, [A7 + 0xA]
label00006FC0:
00006FC0 245F movea.l A2, [A7]+
00006FC2 4E75 rts
fn00006FC4:
00006FC4 1F3C 0013 move.b -[A7], 0x13
00006FC8 206F 0006 movea.l A0, [A7 + 0x6]
00006FCC 2F28 0048 move.l -[A7], [A0 + 0x48]
00006FD0 4EAD E818 jsr [A5 - 0x17E8]
00006FD4 7001 moveq.l D0, 0x01
00006FD6 2080 move.l [A0], D0
00006FD8 5C4F addq.w A7, 6
00006FDA 4E75 rts
fn00006FDC:
00006FDC 48E7 1820 movem.l -[A7], D3,D4,A2
00006FE0 594F subq.w A7, 4
00006FE2 246F 0014 movea.l A2, [A7 + 0x14]
00006FE6 554F subq.w A7, 2
00006FE8 2F0A move.l -[A7], A2
00006FEA A8AE syscall EmptyRect
00006FEC 101F move.b D0, [A7]+
00006FEE 6636 bne +0x38 /* 00007026 */
00006FF0 7800 moveq.l D4, 0x00
00006FF2 6024 bra +0x26 /* 00007018 */
label00006FF4:
00006FF4 7600 moveq.l D3, 0x00
00006FF6 6018 bra +0x1A /* 00007010 */
label00006FF8:
00006FF8 207C 0000 0005 movea.l A0, 0x5
00006FFE 43D7 lea.l A1, [A7]
00007000 A03B syscall Delay
00007002 2280 move.l [A1], D0
00007004 42A7 clr.l -[A7]
00007006 2F0A move.l -[A7], A2
00007008 4EBA 0024 jsr [PC + 0x24 /* 0000702E */]
0000700C 5283 addq.l D3, 1
0000700E 504F addq.w A7, 8
label00007010:
00007010 7002 moveq.l D0, 0x02
00007012 B680 cmp.l D3, D0
00007014 6DE2 blt -0x1C /* 00006FF8 */
00007016 5284 addq.l D4, 1
label00007018:
00007018 554F subq.w A7, 2
0000701A 3EB8 0A24 move.w [A7], [0x00000A24 /* MenuFlash */]
0000701E 301F move.w D0, [A7]+
00007020 48C0 ext.l D0
00007022 B880 cmp.l D4, D0
00007024 6DCE blt -0x30 /* 00006FF4 */
label00007026:
00007026 584F addq.w A7, 4
00007028 4CDF 0418 movem.l D3,D4,A2, [A7]+
0000702C 4E75 rts
fn0000702E:
0000702E 4EAD DD70 jsr [A5 - 0x2290]
00007032 4878 0021 push.l 0x21 /* '!' */
00007036 A862 syscall ForeColor
00007038 4878 001E push.l 0x1E
0000703C A863 syscall BackColor
0000703E 4AAF 0004 tst.l [A7 + 0x4]
00007042 6708 beq +0xA /* 0000704C */
00007044 2F2F 0004 move.l -[A7], [A7 + 0x4]
00007048 A8A4 syscall InvertRect
0000704A 6006 bra +0x8 /* 00007052 */
label0000704C:
0000704C 2F2F 0008 move.l -[A7], [A7 + 0x8]
00007050 A8D5 syscall InverRgn/InvertRgn
label00007052:
00007052 4EAD DD78 jsr [A5 - 0x2288]
00007056 4E75 rts
fn00007058:
00007058 2F0A move.l -[A7], A2
0000705A 4FEF FFF4 lea.l A7, [A7 - 0xC]
0000705E 594F subq.w A7, 4
00007060 A8D8 syscall NewRgn
00007062 205F movea.l A0, [A7]+
00007064 2448 movea.l A2, A0
00007066 200A move.l D0, A2
00007068 660A bne +0xC /* 00007074 */
0000706A 91C8 sub.l A0, A0
0000706C 4FEF 000C lea.l A7, [A7 + 0xC]
00007070 245F movea.l A2, [A7]+
00007072 4E75 rts
label00007074:
00007074 1F3C 0014 move.b -[A7], 0x14
00007078 206F 0016 movea.l A0, [A7 + 0x16]
0000707C 2F28 0048 move.l -[A7], [A0 + 0x48]
00007080 4EAD E818 jsr [A5 - 0x17E8]
00007084 4A90 tst.l [A0]
00007086 5C4F addq.w A7, 6
00007088 6734 beq +0x36 /* 000070BE */
0000708A 4857 pea.l [A7]
0000708C A874 syscall GetPort
0000708E 2057 movea.l A0, [A7]
00007090 3028 0016 move.w D0, [A0 + 0x16]
00007094 48C0 ext.l D0
00007096 72F1 moveq.l D1, 0xFFFFFFF1
00007098 D081 add.l D0, D1
0000709A 3F40 0006 move.w [A7 + 0x6], D0
0000709E 3028 0014 move.w D0, [A0 + 0x14]
000070A2 48C0 ext.l D0
000070A4 D081 add.l D0, D1
000070A6 3F40 0004 move.w [A7 + 0x4], D0
000070AA 3F68 0016 000A move.w [A7 + 0xA], [A0 + 0x16]
000070B0 3F68 0014 0008 move.w [A7 + 0x8], [A0 + 0x14]
000070B6 2F0A move.l -[A7], A2
000070B8 486F 0008 pea.l [A7 + 0x8]
000070BC A8DF syscall RectRgn
label000070BE:
000070BE 204A movea.l A0, A2
000070C0 4FEF 000C lea.l A7, [A7 + 0xC]
000070C4 245F movea.l A2, [A7]+
000070C6 4E75 rts
fn000070C8:
000070C8 48E7 0030 movem.l -[A7], A2,A3
000070CC 594F subq.w A7, 4
000070CE A8D8 syscall NewRgn
000070D0 205F movea.l A0, [A7]+
000070D2 2448 movea.l A2, A0
000070D4 2F2F 0010 move.l -[A7], [A7 + 0x10]
000070D8 4EAD DD50 jsr [A5 - 0x22B0]
000070DC 200A move.l D0, A2
000070DE 584F addq.w A7, 4
000070E0 6732 beq +0x34 /* 00007114 */
000070E2 2F2F 000C move.l -[A7], [A7 + 0xC]
000070E6 4EBA FF70 jsr [PC - 0x90 /* 00007058 */]
000070EA 2648 movea.l A3, A0
000070EC 200B move.l D0, A3
000070EE 584F addq.w A7, 4
000070F0 660A bne +0xC /* 000070FC */
000070F2 2F0A move.l -[A7], A2
000070F4 A8D9 syscall DisposRgn/DisposeRgn
000070F6 4CDF 0C00 movem.l A2,A3, [A7]+
000070FA 4E75 rts
label000070FC:
000070FC 2F0A move.l -[A7], A2
000070FE A87A syscall GetClip
00007100 2F0A move.l -[A7], A2
00007102 2F0B move.l -[A7], A3
00007104 2F0A move.l -[A7], A2
00007106 A8E6 syscall DiffRgn
00007108 2F0A move.l -[A7], A2
0000710A A879 syscall SetClip
0000710C 2F0A move.l -[A7], A2
0000710E A8D9 syscall DisposRgn/DisposeRgn
00007110 2F0B move.l -[A7], A3
00007112 A8D9 syscall DisposRgn/DisposeRgn
label00007114:
00007114 4CDF 0C00 movem.l A2,A3, [A7]+
00007118 4E75 rts
fn0000711A:
0000711A 2F03 move.l -[A7], D3
0000711C 4FEF FFF4 lea.l A7, [A7 - 0xC]
00007120 206F 0014 movea.l A0, [A7 + 0x14]
00007124 2F68 0018 0004 move.l [A7 + 0x4], [A0 + 0x18]
0000712A 2F68 001C 0008 move.l [A7 + 0x8], [A0 + 0x1C]
00007130 4EAD DD70 jsr [A5 - 0x2290]
00007134 486F 0004 pea.l [A7 + 0x4]
00007138 4878 FFFF push.l 0xFFFF
0000713C A8A9 syscall InsetRect
0000713E 4878 0021 push.l 0x21 /* '!' */
00007142 A863 syscall BackColor
00007144 3F3C 2710 move.w -[A7], 0x2710
00007148 486F 0006 pea.l [A7 + 0x6]
0000714C 4EAD DBAA jsr [A5 - 0x2456]
00007150 4EAD DD78 jsr [A5 - 0x2288]
00007154 4EAD DD60 jsr [A5 - 0x22A0]
00007158 3F3C 0001 move.w -[A7], 0x1
0000715C A887 syscall TextFont
0000715E 3F3C 000C move.w -[A7], 0xC
00007162 A88A syscall TextSize
00007164 3F3C 0001 move.w -[A7], 0x1
00007168 A888 syscall TextFace
0000716A 7600 moveq.l D3, 0x00
0000716C 5C4F addq.w A7, 6
0000716E 6040 bra +0x42 /* 000071B0 */
label00007170:
00007170 7001 moveq.l D0, 0x01
00007172 C083 and.l D0, D3
00007174 6604 bne +0x6 /* 0000717A */
00007176 7003 moveq.l D0, 0x03
00007178 6002 bra +0x4 /* 0000717C */
label0000717A:
0000717A 7001 moveq.l D0, 0x01
label0000717C:
0000717C 4880 ext.w D0
0000717E 3F00 move.w -[A7], D0
00007180 A889 syscall TextMode
00007182 302F 0006 move.w D0, [A7 + 0x6]
00007186 48C0 ext.l D0
00007188 720A moveq.l D1, 0x0A
0000718A D081 add.l D0, D1
0000718C 3F00 move.w -[A7], D0
0000718E 302F 0006 move.w D0, [A7 + 0x6]
00007192 48C0 ext.l D0
00007194 7214 moveq.l D1, 0x14
00007196 D081 add.l D0, D1
00007198 3F00 move.w -[A7], D0
0000719A A893 syscall MoveTo
0000719C 486D B654 pea.l [A5 - 0x49AC]
000071A0 A884 syscall DrawString
000071A2 207C 0000 001E movea.l A0, 0x1E
000071A8 43D7 lea.l A1, [A7]
000071AA A03B syscall Delay
000071AC 2280 move.l [A1], D0
000071AE 5283 addq.l D3, 1
label000071B0:
000071B0 7008 moveq.l D0, 0x08
000071B2 B680 cmp.l D3, D0
000071B4 6DBA blt -0x44 /* 00007170 */
000071B6 4EAD DD68 jsr [A5 - 0x2298]
000071BA 486F 0004 pea.l [A7 + 0x4]
000071BE A928 syscall InvalRect
000071C0 4FEF 000C lea.l A7, [A7 + 0xC]
000071C4 261F move.l D3, [A7]+
000071C6 4E75 rts
fn000071C8:
000071C8 4FEF FFF0 lea.l A7, [A7 - 0x10]
000071CC 4857 pea.l [A7]
000071CE A976 syscall GetKeys
000071D0 4857 pea.l [A7]
000071D2 3F3C 002E move.w -[A7], 0x2E /* '.' */
000071D6 4EBA 0048 jsr [PC + 0x48 /* 00007220 */]
000071DA 4A80 tst.l D0
000071DC 5C4F addq.w A7, 6
000071DE 6738 beq +0x3A /* 00007218 */
000071E0 4857 pea.l [A7]
000071E2 3F3C 000E move.w -[A7], 0xE
000071E6 4EBA 0038 jsr [PC + 0x38 /* 00007220 */]
000071EA 4A80 tst.l D0
000071EC 5C4F addq.w A7, 6
000071EE 6728 beq +0x2A /* 00007218 */
000071F0 4857 pea.l [A7]
000071F2 3F3C 0025 move.w -[A7], 0x25 /* '%' */
000071F6 4EBA 0028 jsr [PC + 0x28 /* 00007220 */]
000071FA 4A80 tst.l D0
000071FC 5C4F addq.w A7, 6
000071FE 6718 beq +0x1A /* 00007218 */
00007200 4857 pea.l [A7]
00007202 3F3C 0011 move.w -[A7], 0x11
00007206 4EBA 0018 jsr [PC + 0x18 /* 00007220 */]
0000720A 4A80 tst.l D0
0000720C 5C4F addq.w A7, 6
0000720E 6708 beq +0xA /* 00007218 */
00007210 7001 moveq.l D0, 0x01
00007212 4FEF 0010 lea.l A7, [A7 + 0x10]
00007216 4E75 rts
label00007218:
00007218 7000 moveq.l D0, 0x00
0000721A 4FEF 0010 lea.l A7, [A7 + 0x10]
0000721E 4E75 rts
fn00007220:
00007220 594F subq.w A7, 4
00007222 7001 moveq.l D0, 0x01
00007224 322F 0008 move.w D1, [A7 + 0x8]
00007228 7407 moveq.l D2, 0x07
0000722A C282 and.l D1, D2
0000722C 7400 moveq.l D2, 0x00
0000722E 342F 0008 move.w D2, [A7 + 0x8]
00007232 E682 asr D2, 3
00007234 206F 000A movea.l A0, [A7 + 0xA]
00007238 2E80 move.l [A7], D0
0000723A 7000 moveq.l D0, 0x00
0000723C 1030 2800 move.b D0, [A0 + D2]
00007240 E2A0 asr D0, D1
00007242 C097 and.l D0, [A7]
00007244 56C0 sne D0
00007246 4400 neg.b D0
00007248 4880 ext.w D0
0000724A 48C0 ext.l D0
0000724C 584F addq.w A7, 4
0000724E 4E75 rts
fn00007250:
00007250 48E7 003A movem.l -[A7], A2,A3,A4,A6
00007254 266F 0014 movea.l A3, [A7 + 0x14]
00007258 246F 0018 movea.l A2, [A7 + 0x18]
0000725C 42A7 clr.l -[A7]
0000725E 2F0A move.l -[A7], A2
00007260 4EBA F202 jsr [PC - 0xDFE /* 00006464 */]
00007264 322A 0018 move.w D1, [A2 + 0x18]
00007268 48C1 ext.l D1
0000726A 9280 sub.l D1, D0
0000726C 584F addq.w A7, 4
0000726E 3F01 move.w -[A7], D1
00007270 2F0A move.l -[A7], A2
00007272 4EBA F1D2 jsr [PC - 0xE2E /* 00006446 */]
00007276 322A 001A move.w D1, [A2 + 0x1A]
0000727A 48C1 ext.l D1
0000727C 9280 sub.l D1, D0
0000727E 584F addq.w A7, 4
00007280 3F01 move.w -[A7], D1
00007282 2F2B 0054 move.l -[A7], [A3 + 0x54]
00007286 2F2B 0048 move.l -[A7], [A3 + 0x48]
0000728A 4EAD E3C0 jsr [A5 - 0x1C40]
0000728E 42A7 clr.l -[A7]
00007290 2F0A move.l -[A7], A2
00007292 2F0B move.l -[A7], A3
00007294 4EBA 0050 jsr [PC + 0x50 /* 000072E6 */]
00007298 2848 movea.l A4, A0
0000729A 2008 move.l D0, A0
0000729C 4FEF 001C lea.l A7, [A7 + 0x1C]
000072A0 673E beq +0x40 /* 000072E0 */
000072A2 4AAA 008E tst.l [A2 + 0x8E]
000072A6 6716 beq +0x18 /* 000072BE */
000072A8 4878 0001 push.l 0x1
000072AC 2F0A move.l -[A7], A2
000072AE 2F0B move.l -[A7], A3
000072B0 4EBA 0034 jsr [PC + 0x34 /* 000072E6 */]
000072B4 2C48 movea.l A6, A0
000072B6 2008 move.l D0, A0
000072B8 4FEF 000C lea.l A7, [A7 + 0xC]
000072BC 6602 bne +0x4 /* 000072C0 */
label000072BE:
000072BE 2C4C movea.l A6, A4
label000072C0:
000072C0 2F0E move.l -[A7], A6
000072C2 2F0C move.l -[A7], A4
000072C4 2F2B 0054 move.l -[A7], [A3 + 0x54]
000072C8 2F2B 0048 move.l -[A7], [A3 + 0x48]
000072CC 4EAD E3B8 jsr [A5 - 0x1C48]
000072D0 BDCC cmpa.l A6, A4
000072D2 4FEF 0010 lea.l A7, [A7 + 0x10]
000072D6 6704 beq +0x6 /* 000072DC */
000072D8 2F0E move.l -[A7], A6
000072DA A8D9 syscall DisposRgn/DisposeRgn
label000072DC:
000072DC 2F0C move.l -[A7], A4
000072DE A8D9 syscall DisposRgn/DisposeRgn
label000072E0:
000072E0 4CDF 5C00 movem.l A2,A3,A4,A6, [A7]+
000072E4 4E75 rts
fn000072E6:
000072E6 48E7 0038 movem.l -[A7], A2,A3,A4
000072EA 514F subq.w A7, 8
000072EC 286F 0018 movea.l A4, [A7 + 0x18]
000072F0 266F 001C movea.l A3, [A7 + 0x1C]
000072F4 594F subq.w A7, 4
000072F6 A8D8 syscall NewRgn
000072F8 205F movea.l A0, [A7]+
000072FA 2448 movea.l A2, A0
000072FC 2008 move.l D0, A0
000072FE 660A bne +0xC /* 0000730A */
00007300 91C8 sub.l A0, A0
00007302 504F addq.w A7, 8
00007304 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00007308 4E75 rts
label0000730A:
0000730A 4AAB 008E tst.l [A3 + 0x8E]
0000730E 6720 beq +0x22 /* 00007330 */
00007310 4AAF 0020 tst.l [A7 + 0x20]
00007314 6604 bne +0x6 /* 0000731A */
00007316 7000 moveq.l D0, 0x00
00007318 6002 bra +0x4 /* 0000731C */
label0000731A:
0000731A 7001 moveq.l D0, 0x01
label0000731C:
0000731C 1F00 move.b -[A7], D0
0000731E 486F 0002 pea.l [A7 + 0x2]
00007322 2F0B move.l -[A7], A3
00007324 2F0C move.l -[A7], A4
00007326 4EBA D8A8 jsr [PC - 0x2758 /* 00004BD0 */]
0000732A 4FEF 000E lea.l A7, [A7 + 0xE]
0000732E 600A bra +0xC /* 0000733A */
label00007330:
00007330 2EAB 0018 move.l [A7], [A3 + 0x18]
00007334 2F6B 001C 0004 move.l [A7 + 0x4], [A3 + 0x1C]
label0000733A:
0000733A 2F0A move.l -[A7], A2
0000733C 486F 0004 pea.l [A7 + 0x4]
00007340 A8DF syscall RectRgn
00007342 4A6D B48A tst.w [A5 - 0x4B76]
00007346 671E beq +0x20 /* 00007366 */
00007348 42A7 clr.l -[A7]
0000734A 2F2C 0048 move.l -[A7], [A4 + 0x48]
0000734E 4EAD F678 jsr [A5 - 0x988]
00007352 2648 movea.l A3, A0
00007354 2008 move.l D0, A0
00007356 504F addq.w A7, 8
00007358 670C beq +0xE /* 00007366 */
0000735A 2F0A move.l -[A7], A2
0000735C 2F0B move.l -[A7], A3
0000735E 2F0A move.l -[A7], A2
00007360 A8E6 syscall DiffRgn
00007362 2F0B move.l -[A7], A3
00007364 A8D9 syscall DisposRgn/DisposeRgn
label00007366:
00007366 204A movea.l A0, A2
00007368 504F addq.w A7, 8
0000736A 4CDF 1C00 movem.l A2,A3,A4, [A7]+
0000736E 4E75 rts
fn00007370:
00007370 48E7 1C30 movem.l -[A7], D3,D4,D5,A2,A3
00007374 246F 0018 movea.l A2, [A7 + 0x18]
00007378 082A 0004 00AE btst.b [A2 + 0xAE], 0x4
0000737E 6730 beq +0x32 /* 000073B0 */
00007380 302A 00B6 move.w D0, [A2 + 0xB6]
00007384 B06A 00B4 cmp.w D0, [A2 + 0xB4]
00007388 6E06 bgt +0x8 /* 00007390 */
0000738A 302A 00B4 move.w D0, [A2 + 0xB4]
0000738E 6004 bra +0x6 /* 00007394 */
label00007390:
00007390 302A 00B6 move.w D0, [A2 + 0xB6]
label00007394:
00007394 3600 move.w D3, D0
00007396 3003 move.w D0, D3
00007398 48C0 ext.l D0
0000739A 382A 0012 move.w D4, [A2 + 0x12]
0000739E 48C4 ext.l D4
000073A0 D880 add.l D4, D0
000073A2 302A 0016 move.w D0, [A2 + 0x16]
000073A6 48C0 ext.l D0
000073A8 B084 cmp.l D0, D4
000073AA 6F04 ble +0x6 /* 000073B0 */
000073AC 3544 0016 move.w [A2 + 0x16], D4
label000073B0:
000073B0 4AAA 0092 tst.l [A2 + 0x92]
000073B4 672E beq +0x30 /* 000073E4 */
000073B6 266A 0092 movea.l A3, [A2 + 0x92]
000073BA 2653 movea.l A3, [A3]
000073BC 548B addq.l A3, 2
000073BE 3013 move.w D0, [A3]
000073C0 48C0 ext.l D0
000073C2 362B 0004 move.w D3, [A3 + 0x4]
000073C6 48C3 ext.l D3
000073C8 9680 sub.l D3, D0
000073CA 3003 move.w D0, D3
000073CC 48C0 ext.l D0
000073CE 3A2A 0010 move.w D5, [A2 + 0x10]
000073D2 48C5 ext.l D5
000073D4 DA80 add.l D5, D0
000073D6 302A 0014 move.w D0, [A2 + 0x14]
000073DA 48C0 ext.l D0
000073DC B085 cmp.l D0, D5
000073DE 6F04 ble +0x6 /* 000073E4 */
000073E0 3545 0014 move.w [A2 + 0x14], D5
label000073E4:
000073E4 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
000073E8 4E75 rts
fn000073EA:
000073EA 48E7 0038 movem.l -[A7], A2,A3,A4
000073EE 4FEF FFF0 lea.l A7, [A7 - 0x10]
000073F2 286F 0020 movea.l A4, [A7 + 0x20]
000073F6 266F 0024 movea.l A3, [A7 + 0x24]
000073FA 4AAB 009A tst.l [A3 + 0x9A]
000073FE 6700 00D8 beq +0xDA /* 000074D8 */
00007402 1F3C 0014 move.b -[A7], 0x14
00007406 2F2C 0048 move.l -[A7], [A4 + 0x48]
0000740A 4EAD E818 jsr [A5 - 0x17E8]
0000740E 4A90 tst.l [A0]
00007410 5C4F addq.w A7, 6
00007412 6700 00C4 beq +0xC6 /* 000074D8 */
00007416 246B 009A movea.l A2, [A3 + 0x9A]
0000741A 2452 movea.l A2, [A2]
0000741C 508A addq.l A2, 8
0000741E 302A 0004 move.w D0, [A2 + 0x4]
00007422 B06B 0014 cmp.w D0, [A3 + 0x14]
00007426 6C00 00B0 bge +0xB2 /* 000074D8 */
0000742A 206C 0048 movea.l A0, [A4 + 0x48]
0000742E 3028 0016 move.w D0, [A0 + 0x16]
00007432 48C0 ext.l D0
00007434 72F1 moveq.l D1, 0xFFFFFFF1
00007436 D081 add.l D0, D1
00007438 3F40 000A move.w [A7 + 0xA], D0
0000743C 48C0 ext.l D0
0000743E 720F moveq.l D1, 0x0F
00007440 D081 add.l D0, D1
00007442 3F40 000E move.w [A7 + 0xE], D0
00007446 206C 0048 movea.l A0, [A4 + 0x48]
0000744A 3028 0014 move.w D0, [A0 + 0x14]
0000744E 48C0 ext.l D0
00007450 72F1 moveq.l D1, 0xFFFFFFF1
00007452 D081 add.l D0, D1
00007454 3F40 0008 move.w [A7 + 0x8], D0
00007458 48C0 ext.l D0
0000745A 720F moveq.l D1, 0x0F
0000745C D081 add.l D0, D1
0000745E 3F40 000C move.w [A7 + 0xC], D0
00007462 3F6A 0006 0006 move.w [A7 + 0x6], [A2 + 0x6]
00007468 3EAA 0004 move.w [A7], [A2 + 0x4]
0000746C 3F6A 0002 0002 move.w [A7 + 0x2], [A2 + 0x2]
00007472 302A 0004 move.w D0, [A2 + 0x4]
00007476 48C0 ext.l D0
00007478 D081 add.l D0, D1
0000747A 3F40 0004 move.w [A7 + 0x4], D0
0000747E 594F subq.w A7, 4
00007480 A8D8 syscall NewRgn
00007482 205F movea.l A0, [A7]+
00007484 2448 movea.l A2, A0
00007486 200A move.l D0, A2
00007488 674E beq +0x50 /* 000074D8 */
0000748A 594F subq.w A7, 4
0000748C A8D8 syscall NewRgn
0000748E 205F movea.l A0, [A7]+
00007490 2648 movea.l A3, A0
00007492 200B move.l D0, A3
00007494 660E bne +0x10 /* 000074A4 */
00007496 2F0A move.l -[A7], A2
00007498 A8D9 syscall DisposRgn/DisposeRgn
0000749A 4FEF 0010 lea.l A7, [A7 + 0x10]
0000749E 4CDF 1C00 movem.l A2,A3,A4, [A7]+
000074A2 4E75 rts
label000074A4:
000074A4 2F0B move.l -[A7], A3
000074A6 486F 000C pea.l [A7 + 0xC]
000074AA A8DF syscall RectRgn
000074AC 2F0A move.l -[A7], A2
000074AE 486F 0004 pea.l [A7 + 0x4]
000074B2 A8DF syscall RectRgn
000074B4 2F0A move.l -[A7], A2
000074B6 2F0B move.l -[A7], A3
000074B8 2F0A move.l -[A7], A2
000074BA A8E6 syscall DiffRgn
000074BC 2F0B move.l -[A7], A3
000074BE 486C 0040 pea.l [A4 + 0x40]
000074C2 A8DF syscall RectRgn
000074C4 2F0A move.l -[A7], A2
000074C6 2F0B move.l -[A7], A3
000074C8 2F0A move.l -[A7], A2
000074CA A8E4 syscall SectRgn
000074CC 2F0A move.l -[A7], A2
000074CE A8D4 syscall EraseRgn
000074D0 2F0A move.l -[A7], A2
000074D2 A8D9 syscall DisposRgn/DisposeRgn
000074D4 2F0B move.l -[A7], A3
000074D6 A8D9 syscall DisposRgn/DisposeRgn
label000074D8:
000074D8 4FEF 0010 lea.l A7, [A7 + 0x10]
000074DC 4CDF 1C00 movem.l A2,A3,A4, [A7]+
000074E0 4E75 rts
000074E2 0000 0000 ori.b D0, 0x0
000074E6 0000 0000 ori.b D0, 0x0
000074EA 0000 0000 ori.b D0, 0x0